mirror of
https://github.com/munki/munki.git
synced 2026-01-10 00:30:51 -06:00
11 lines
396 B
Bash
Executable File
11 lines
396 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# we're going to install version 3.12
|
|
# prevent installer from removing a version currently in use
|
|
# (must update this script when we move to a new Python version)
|
|
for OLDVERS in 3.7 3.8 3.9 3.10 ; do
|
|
if [ -d "$3/usr/local/munki/Python.framework/Versions/$OLDVERS" ] ; then
|
|
/usr/bin/chflags -fR schg,uchg "$3/usr/local/munki/Python.framework/Versions/$OLDVERS"
|
|
fi
|
|
done
|