Update linupx-scripts.sh

This commit is contained in:
2022-05-08 13:14:42 -05:00
parent d2fe1f1000
commit a79da252a0

View File

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