From 8293f5c277f7cb93b392f5bf5651c009b9a76732 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 21 Dec 2025 15:55:59 -0600 Subject: [PATCH] Update install-linupx.sh --- install-linupx.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install-linupx.sh b/install-linupx.sh index 589e612..fb2ee7d 100755 --- a/install-linupx.sh +++ b/install-linupx.sh @@ -19,7 +19,11 @@ do_with_root $APTFUNC -y install wget curl git jq grepcidr do_with_root set -eu 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 do_with_root set -eu