From a79da252a040055b37b3064953642305b5779d28 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 8 May 2022 13:14:42 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 745e27d..ce7570c 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -460,11 +460,14 @@ PYTHON3UPGRADE(){ case "$choice" in [Nn]) INSTALL_MENU;; * ) - # add-apt-repository -y ppa:deadsnakes/ppa - $APTFUNC install -y python3 python3-pip - /usr/bin/wget -O /root/.bashrc https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/bashrc + add-apt-repository -y ppa:deadsnakes/ppa + $APTFUNC install -y python3.10 python3-pip + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2 + update-alternatives --config python3 + echo "" - echo -e "${Green}Python3 Upfgrade has been Completed${Color_Off}" + echo -e "${Green}Python3.10 Upgrade has been Completed${Color_Off}" if [ ${action-x} ]; then exit 0; fi read -n 1 -s -p "Press any key to continue" SCRIPT_MENU;;