Update install.sh

add-license-1
necro-nemesis 3 years ago committed by GitHub
parent 286465413b
commit 1bb303625e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

Loading…
Cancel
Save