mirror of
https://github.com/munki/munki.git
synced 2026-01-13 10:20:18 -06:00
Add postinstall script to Python pkg that removes older versions from the framework and ensures the python symlink is removed. Addresses #1010"
This commit is contained in:
7
code/pkgtemplate/Scripts_python/postinstall
Executable file
7
code/pkgtemplate/Scripts_python/postinstall
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user