From 3025579b98f79f06710db122be7c7c7aca6d5251 Mon Sep 17 00:00:00 2001 From: filip Date: Wed, 3 Feb 2021 20:12:32 +0100 Subject: [PATCH] added more documentation --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 14b7268..1eb71ec 100644 --- a/install.sh +++ b/install.sh @@ -1,15 +1,15 @@ #!/bin/bash GIT_REPO="https://git.willy.club/William/kvs-linuxmint-dloadx" GIT_NAME="kvs-linuxmint-dloadx" # Must not contain spaces and/or weird characters -TARGET_DIR="/opt" #directory to install to +#TARGET_DIR="/opt" #directory to install to USERNAME=$(logname) echo "What directory do you want to install to?" echo "Specify directory below and files wil be copied in to a subdirectory of that directory called /$GIT_NAME" echo "Default if nothing is entered is /opt" + +#get user input read TARGET_DIR -# ^ -# L_ get user input if [ $TARGET_DIR == "" ]; then #set directory to /opt if the user wrote nothing TARGET_DIR="/opt"