Update install-linupx.sh
This commit is contained in:
@@ -19,7 +19,11 @@ do_with_root $APTFUNC -y install wget curl git jq grepcidr
|
|||||||
|
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
do_with_root git clone https://git.schroedercity.com/voltron/LinUPx.git /opt/idssys/linupx
|
do_with_root git clone https://git.schroedercity.com/voltron/LinUPx.git /opt/idssys/linupx
|
||||||
do_with_root ln -s /opt/idssys/linupx/run.sh /usr/local/bin/runup
|
if [ -d /usr/local/bin/ ]; then
|
||||||
|
do_with_root ln -s /opt/idssys/linupx/run.sh /usr/local/bin/runup
|
||||||
|
elif [ -d /usr/bin/ ]; then
|
||||||
|
do_with_root ln -s /opt/idssys/linupx/run.sh /usr/bin/runup
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
|
|||||||
Reference in New Issue
Block a user