From 0f8f9e29e9dbb9b4ba20ffe80b90cfda0bd17c91 Mon Sep 17 00:00:00 2001 From: "Private-Locker, LLC" <40194049+PrivateLocker@users.noreply.github.com> Date: Tue, 12 Nov 2019 21:52:02 -0800 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 37e8ef9..8774ce1 100644 --- a/install.sh +++ b/install.sh @@ -8,6 +8,7 @@ getdir(){ done DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" } +getdir; DELFILE="$DIR/$0" root_check_init(){ echo "Checking for Root.." @@ -41,7 +42,6 @@ run(){ echo -e "Running Net-UP.."; bash $HOMEDIR/netup } -getdir; root_check_init; HOMEDIR=/root/netup if [[ -d "$HOMEDIR" ]] ; then