From 1bb303625e233cdccbcf21fae1dda337000f6b19 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Fri, 5 Mar 2021 14:13:27 -0500 Subject: [PATCH] Update install.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ff0d1ba..b77de3f 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,7 @@ #!/bin/bash +lokinet_dir="/tmp/lokinet" + function show_splash() { cyan='\033[1;36m' @@ -41,7 +43,6 @@ echo "Install resolvconf and configure" # Fetches latest files from github to lokinet installation directory function download_latest_files() { - lokinet_dir="/usr/local/etc/lokinet" if [ -d "$lokinet_dir" ]; then sudo mv $lokinet_dir "$lokinet_dir.`date +%F-%R`" || install_error "Unable to remove old lokinet-installer directory"