From ee2e8acdcec6c97e141b54859ab3bd922156291e Mon Sep 17 00:00:00 2001 From: filip Date: Wed, 3 Feb 2021 20:11:29 +0100 Subject: [PATCH] added more documentation --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index ddd2f89..14b7268 100644 --- a/install.sh +++ b/install.sh @@ -6,10 +6,12 @@ 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 is /opt" +echo "Default if nothing is entered is /opt" read TARGET_DIR +# ^ +# L_ get user input -if [ $TARGET_DIR == "" ]; then +if [ $TARGET_DIR == "" ]; then #set directory to /opt if the user wrote nothing TARGET_DIR="/opt" fi