cleanup old scripts and move to --no-rcs shebang (#59)
This commit is contained in:
1 parent
cd4759da9e
commit
5e5340aaa0
4 files changed
+1
-17
No files matched your search
@@ -149,11 +149,9 @@ if [[ "${PYTHON_MAJOR_VERSION}" == "3.10" ]]; then
|
|||||||
fi
|
fi
|
||||||
if [[ "${PYTHON_MAJOR_VERSION}" == "3.11" ]]; then
|
if [[ "${PYTHON_MAJOR_VERSION}" == "3.11" ]]; then
|
||||||
/bin/ln -s "$PYTHON_BIN_NEW" "$TOOLSDIR/$TYPE/payload/usr/local/bin/managed_python3"
|
/bin/ln -s "$PYTHON_BIN_NEW" "$TOOLSDIR/$TYPE/payload/usr/local/bin/managed_python3"
|
||||||
# /bin/cp "$TOOLSDIR/python-$PYTHON_MAJOR_VERSION" "$TOOLSDIR/$TYPE/payload/usr/local/bin/managed_python3"
|
|
||||||
fi
|
fi
|
||||||
if [[ "${PYTHON_MAJOR_VERSION}" == "3.12" ]]; then
|
if [[ "${PYTHON_MAJOR_VERSION}" == "3.12" ]]; then
|
||||||
/bin/ln -s "$PYTHON_BIN_NEW" "$TOOLSDIR/$TYPE/payload/usr/local/bin/managed_python3"
|
/bin/ln -s "$PYTHON_BIN_NEW" "$TOOLSDIR/$TYPE/payload/usr/local/bin/managed_python3"
|
||||||
# /bin/cp "$TOOLSDIR/python-$PYTHON_MAJOR_VERSION" "$TOOLSDIR/$TYPE/payload/usr/local/bin/managed_python3"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SB_RESULT="$?"
|
SB_RESULT="$?"
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh --no-rcs
|
||||||
#
|
#
|
||||||
# Copyright 2023-Present Mac Admins Open Source.
|
# Copyright 2023-Present Mac Admins Open Source.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
bin="/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.11/bin/python3.11"
|
|
||||||
|
|
||||||
PYTHONHOME=/Library/ManagedFrameworks/Python.framework/Versions/3.11
|
|
||||||
PYTHONPATH=/Library/ManagedFrameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload
|
|
||||||
exec "${bin}" "$@"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
bin="/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.12/bin/python3.12"
|
|
||||||
|
|
||||||
PYTHONHOME=/Library/ManagedFrameworks/Python.framework/Versions/3.12
|
|
||||||
PYTHONPATH=/Library/ManagedFrameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload
|
|
||||||
exec "${bin}" "$@"
|
|
||||||
Reference in new issue
Block a user