Files
munki/code/tools/pkgresources/python_cleanup_scripts/cleanup.sh
Graham Gilbert 401f521f48 Add cleanup scripts (#1025)
* Run cleanup scripts if they're there

* Cleanup script, add to build script

* okay

* I'm all shelled out

* Comment for future greg
2020-09-16 14:05:08 -07:00

12 lines
231 B
Bash
Executable File

#!/bin/sh
set -e
if [ -f "/usr/local/munki/python" ]; then
/bin/rm /usr/local/munki/python
fi
if [ -d "/usr/local/munki/Python.framework/Versions/3.7" ]; then
/bin/rm -r /usr/local/munki/Python.framework/Versions/3.7
fi