Update upscripts-install.sh

This commit is contained in:
2018-03-23 20:08:03 -05:00
parent d7fd70ebb7
commit 71eb21877f

View File

@@ -3,12 +3,12 @@
if [ "$EUID" -ne 0 ]; then if [ "$EUID" -ne 0 ]; then
sudo set -eu sudo set -eu
sudo git -c http.sslVerify=false clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx sudo git clone https://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 -c http.sslVerify=false clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx git clone https://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