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
This commit is contained in:
Graham Gilbert
2020-09-16 14:05:08 -07:00
committed by GitHub
parent c27fd3c07f
commit 401f521f48
3 changed files with 87 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/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