Update folder location
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
useAutoremove=1
|
useAutoremove=1
|
||||||
FOLDER='/opt/ubuntu-upscripts'
|
FOLDER='/opt/LinUPx'
|
||||||
|
|
||||||
Color_Off='\033[0m'
|
Color_Off='\033[0m'
|
||||||
Blue='\033[0;34m'
|
Blue='\033[0;34m'
|
||||||
@@ -236,8 +236,8 @@ if [ ${action-x} ]; then
|
|||||||
exit 1;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
if [ -e /opt/ubuntu-upscripts/upscripts-install.sh ]; then
|
if [ -e /opt/LinUPx/upscripts-install.sh ]; then
|
||||||
rm -f /opt/ubuntu-upscripts/upscripts-install.sh
|
rm -f /opt/LinUPx/upscripts-install.sh
|
||||||
fi
|
fi
|
||||||
if [ -e ~/runup.sh ]; then
|
if [ -e ~/runup.sh ]; then
|
||||||
rm -f ~/runup.sh
|
rm -f ~/runup.sh
|
||||||
@@ -252,7 +252,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ruTARGET=$"`file ~/runup.sh | awk '{print $5}'`"
|
# 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
|
# rm ~/runup.sh
|
||||||
# ln -s $FOLDER/run.sh ~/runup.sh
|
# ln -s $FOLDER/run.sh ~/runup.sh
|
||||||
# echo "Recreated runup.sh link to point to the new loader script..."
|
# echo "Recreated runup.sh link to point to the new loader script..."
|
||||||
|
|||||||
Reference in New Issue
Block a user