From 11cdc69cdac12592f664e83cb1f6f4bfc73ecb1f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 18 Mar 2018 22:32:29 -0500 Subject: [PATCH] Update upscripts.sh --- upscripts.sh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/upscripts.sh b/upscripts.sh index 0efd88b..7127f5b 100755 --- a/upscripts.sh +++ b/upscripts.sh @@ -3,7 +3,7 @@ action="$1" useAutoremove=1 -FOLDER='/opt/ubuntu-upscripts' +FOLDER='/opt/LinUPx' Color_Off='\033[0m' Blue='\033[0;34m' @@ -182,7 +182,7 @@ SCRIPT_MENU() { do clear echo "" - echo -e " ${BBlue}D E B I A N U P D A T E - S C R I P T S${Color_Off} ${Blue}(ver-2.09232017)${Color_Off}" + echo -e " ${BBlue}D E B I A N U P D A T E - S C R I P T S${Color_Off} ${Blue}(ver-3.03182018)${Color_Off}" echo "-------------------------------------------------------------" echo " $(hostname --long)" echo "-------------------------------------------------------------" @@ -257,8 +257,8 @@ if [ ${action-x} ]; then exit 1;; esac else - if [ -e /opt/ubuntu-upscripts/upscripts-install.sh ]; then - rm -f /opt/ubuntu-upscripts/upscripts-install.sh + if [ -e /opt/LinUPx/upscripts-install.sh ]; then + rm -f /opt/LinUPx/upscripts-install.sh fi if [ -e ~/runup.sh ]; then rm -f ~/runup.sh @@ -272,14 +272,6 @@ else read -n 1 -s -p "Press any key to continue" fi -# ruTARGET=$"`file ~/runup.sh | awk '{print $5}'`" -# if [ $ruTARGET == "/opt/ubuntu-upscripts/upscripts.sh" ] || [ $ruTARGET == "\`/opt/ubuntu-upscripts/upscripts.sh'" ]; then -# rm ~/runup.sh -# ln -s $FOLDER/run.sh ~/runup.sh -# echo "Recreated runup.sh link to point to the new loader script..." -# sleep 2 -# fi - SCRIPT_MENU fi