Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
account for the newfangled munki-python symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
chilcote committed Jul 25, 2020
1 parent cbb541c commit 9825510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ set -x
OUTSET_PYTHON=/usr/local/outset/python3
ORG_PYTHON=/usr/local/bin/python3
MACADMINS_PYTHON=/usr/local/bin/managed_python3
MUNKI_MUNKI_PYTHON=/usr/local/munki/munki-python
MUNKI_PYTHON=/usr/local/munki/python
SYSTEM_PYTHON=/usr/bin/python3

Expand All @@ -30,6 +31,8 @@ if [[ -L "${ORG_PYTHON}" ]]; then
/bin/ln -s "${ORG_PYTHON}" "${OUTSET_PYTHON}"
elif [[ -L "${MACADMINS_PYTHON}" ]]; then
/bin/ln -s "${MACADMINS_PYTHON}" "${OUTSET_PYTHON}"
elif [[ -L "${MUNKI_MUNKI_PYTHON}" ]]; then
/bin/ln -s "${MUNKI_MUNKI_PYTHON}" "${OUTSET_PYTHON}"
elif [[ -L "${MUNKI_PYTHON}" ]]; then
/bin/ln -s "${MUNKI_PYTHON}" "${OUTSET_PYTHON}"
else
Expand Down

0 comments on commit 9825510

Please sign in to comment.