Update linupx-scripts.sh
This commit is contained in:
@@ -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;;
|
||||
|
||||
Reference in New Issue
Block a user