From 885ab97ed7cf2a6c37700805e8e8ed93877daf9a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 19 Apr 2020 11:44:24 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index f194fc9..aa4f583 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -363,9 +363,19 @@ ENABLE_REMOTESYSLOG(){ esac } PYTHON3UPGRADE(){ - # add-apt-repository -y ppa:deadsnakes/ppa - $APTFUNC install -y phython3 python3-pip - /usr/bin/wget -O /root/.bashrc https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/bashrc + read -n 1 -p "Are you sure you wish to install Filewatcher (Y/n)?" choice + case "$choice" in + [Nn]) INSTALL_MENU;; + * ) + # add-apt-repository -y ppa:deadsnakes/ppa + $APTFUNC install -y phython3 python3-pip + /usr/bin/wget -O /root/.bashrc https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/bashrc + echo "" + echo -e "${Green}Python3 Upfgrade has been Completed${Color_Off}" + if [ ${action-x} ]; then exit 0; fi + read -n 1 -s -p "Press any key to continue";; + exit 0;; + esac } BASHRC_INSTALL(){ /usr/bin/wget -O /root/.bashrc https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/bashrc