mirror of
https://github.com/munki/munki.git
synced 2025-12-31 03:29:55 -06:00
Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)"
This change is still a good future goal, but is causing problems that are too difficult to work around right now and is delaying the vital release of Munki 5.1 for Big Sur compatibility.
This reverts commit 3bb91cabca.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2017-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2018-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2017-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2010-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2010-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2011-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2008-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2009-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2011-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2010-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2018-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2011-2017 Google Inc. All Rights Reserved.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2009-2020 Greg Neagle.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/munki/munki-python
|
||||
#!/usr/local/munki/python
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright 2011-2013 Google Inc. All Rights Reserved.
|
||||
|
||||
@@ -568,7 +568,7 @@ chmod -R 755 "$PYTHONROOT/usr"
|
||||
# Copy framework
|
||||
cp -R "$MUNKIROOT/Python.framework" "$PYTHONROOT/usr/local/munki/"
|
||||
# Create symlink
|
||||
ln -s Python.framework/Versions/Current/bin/python3 "$PYTHONROOT/usr/local/munki/munki-python"
|
||||
ln -s Python.framework/Versions/Current/bin/python3 "$PYTHONROOT/usr/local/munki/python"
|
||||
# Set permissions.
|
||||
chmod -R go-w "$PYTHONROOT/usr/local/munki"
|
||||
chmod +x "$PYTHONROOT/usr/local/munki"
|
||||
@@ -587,7 +587,7 @@ mkdir -m 1775 "$NOPYTHONROOT"
|
||||
mkdir -p "$NOPYTHONROOT/usr/local/munki"
|
||||
chmod -R 755 "$NOPYTHONROOT/usr"
|
||||
# Create symlink
|
||||
ln -s /usr/bin/python "$NOPYTHONROOT/usr/local/munki/munki-python"
|
||||
ln -s /usr/bin/python "$NOPYTHONROOT/usr/local/munki/python"
|
||||
# Set permissions.
|
||||
chmod -R go-w "$NOPYTHONROOT/usr/local/munki"
|
||||
chmod +x "$NOPYTHONROOT/usr/local/munki"
|
||||
|
||||
@@ -3,5 +3,4 @@
|
||||
# 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"
|
||||
/bin/rm -rf "$3/usr/local/munki/Python.framework/Versions/3.7"
|
||||
Reference in New Issue
Block a user