Merge branch 'Munki5dev' into bigsur-profiles

This commit is contained in:
Greg Neagle
2020-09-15 09:07:38 -07:00
16 changed files with 17 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2017-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2018-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2017-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2010-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2010-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2011-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2008-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2009-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2011-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2010-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2018-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2011-2017 Google Inc. All Rights Reserved.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2009-2020 Greg Neagle.

View File

@@ -1,4 +1,4 @@
#!/usr/local/munki/munki-python
#!/usr/local/munki/python
# encoding: utf-8
#
# Copyright 2011-2013 Google Inc. All Rights Reserved.

View File

@@ -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"

View File

@@ -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"