Update folder location
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
useAutoremove=1
|
||||
FOLDER='/opt/ubuntu-upscripts'
|
||||
FOLDER='/opt/LinUPx'
|
||||
|
||||
Color_Off='\033[0m'
|
||||
Blue='\033[0;34m'
|
||||
@@ -236,8 +236,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
|
||||
@@ -252,7 +252,7 @@ else
|
||||
fi
|
||||
|
||||
# ruTARGET=$"`file ~/runup.sh | awk '{print $5}'`"
|
||||
# if [ $ruTARGET == "/opt/ubuntu-upscripts/upscripts.sh" ] || [ $ruTARGET == "\`/opt/ubuntu-upscripts/upscripts.sh'" ]; then
|
||||
# if [ $ruTARGET == "/opt/LinUPx/upscripts.sh" ] || [ $ruTARGET == "\`/opt/LinUPx/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..."
|
||||
|
||||
Reference in New Issue
Block a user