Update upscripts-install.sh
This commit is contained in:
@@ -3,13 +3,11 @@
|
|||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
sudo set -eu
|
sudo set -eu
|
||||||
sudo mkdir /opt/LinUPx
|
|
||||||
sudo git clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx
|
sudo git 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
|
||||||
mkdir /opt/uLinUPx
|
|
||||||
git clone http://git.schroedercity.com/voltron/LinUPx.git /opt/LinUPx
|
git 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
|
||||||
|
|||||||
Reference in New Issue
Block a user