Update upscripts-install.sh

This commit is contained in:
2018-03-23 20:06:49 -05:00
parent 46af8969aa
commit d7fd70ebb7

View File

@@ -3,12 +3,12 @@
if [ "$EUID" -ne 0 ]; then if [ "$EUID" -ne 0 ]; then
sudo set -eu sudo set -eu
sudo git clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx sudo git -c http.sslVerify=false clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx
sudo ln -s /opt/LinUPx/run.sh /usr/local/bin/runup sudo ln -s /opt/LinUPx/run.sh /usr/local/bin/runup
sudo rm -f /opt/LinUPx/upscripts-install.sh sudo rm -f /opt/LinUPx/upscripts-install.sh
else else
set -eu set -eu
git clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx git -c http.sslVerify=false clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx
ln -s /opt/LinUPx/run.sh /usr/local/bin/runup ln -s /opt/LinUPx/run.sh /usr/local/bin/runup
rm -f /opt/LinUPx/upscripts-install.sh rm -f /opt/LinUPx/upscripts-install.sh
fi fi