Files
munki/code/pkgtemplate/Scripts_python/postinstall

7 lines
240 B
Bash
Executable File

#!/bin/sh
# removes old versions when installing/upgrading the Python framework.
# will need to be updated if/when we move to Python 3.9
/bin/rm -rf "$3/usr/local/munki/Python.framework/Versions/3.7"
/bin/rm -f "$3/usr/local/munki/python"