From 5e5340aaa06a67e36698bfa72bf8960c4bce42c4 Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Thu, 14 Mar 2024 10:49:48 -0500 Subject: [PATCH] cleanup old scripts and move to --no-rcs shebang (#59) --- build_python_framework_pkgs.zsh | 2 -- preinstall-cleanup | 2 +- python-3.11 | 7 ------- python-3.12 | 7 ------- 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100755 python-3.11 delete mode 100755 python-3.12 diff --git a/build_python_framework_pkgs.zsh b/build_python_framework_pkgs.zsh index dd5c96b..ae4ac22 100755 --- a/build_python_framework_pkgs.zsh +++ b/build_python_framework_pkgs.zsh @@ -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="$?" diff --git a/preinstall-cleanup b/preinstall-cleanup index a3616ae..8215964 100755 --- a/preinstall-cleanup +++ b/preinstall-cleanup @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/bin/zsh --no-rcs # # Copyright 2023-Present Mac Admins Open Source. # diff --git a/python-3.11 b/python-3.11 deleted file mode 100755 index 92a9577..0000000 --- a/python-3.11 +++ /dev/null @@ -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}" "$@" diff --git a/python-3.12 b/python-3.12 deleted file mode 100755 index 7b8c88a..0000000 --- a/python-3.12 +++ /dev/null @@ -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}" "$@"