Update upscripts-install.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user