cleanup old scripts and move to --no-rcs shebang (#59)

This commit is contained in:
Erik Gomez
2024-03-14 10:49:48 -05:00
committed by GitHub
parent cd4759da9e
commit 5e5340aaa0
4 changed files with 1 additions and 17 deletions
-2
View File
@@ -149,11 +149,9 @@ if [[ "${PYTHON_MAJOR_VERSION}" == "3.10" ]]; then
fi
if [[ "${PYTHON_MAJOR_VERSION}" == "3.11" ]]; then
/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
if [[ "${PYTHON_MAJOR_VERSION}" == "3.12" ]]; then
/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
SB_RESULT="$?"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/zsh --no-rcs
#
# Copyright 2023-Present Mac Admins Open Source.
#
-7
View File
@@ -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}" "$@"
-7
View File
@@ -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}" "$@"