From 4ad5a77aa66b8b8efdb389d2a73306cf5b199daa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 10 Sep 2018 10:39:46 -0500 Subject: [PATCH] Update linupx-install.sh --- linupx-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linupx-install.sh b/linupx-install.sh index 2d6f2c4..2086147 100644 --- a/linupx-install.sh +++ b/linupx-install.sh @@ -1,17 +1,20 @@ #!/bin/bash # Wrapper script for install, for easier execution via URL. - +echo "yes - " if [ "$EUID" -ne 0 ]; then + echo "1" sudo set -eu # sudo git -c http.sslVerify=false clone https://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 else + echo "2" set -eu # git -c http.sslVerify=false clone https://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 fi +echo "
done" echo "" echo "To run updates, use the command: runup" echo ""