forked from William/kvs-linuxmint-dloadx
added more documentation
This commit is contained in:
parent
be7862b457
commit
ee2e8acdce
@ -6,10 +6,12 @@ USERNAME=$(logname)
|
|||||||
|
|
||||||
echo "What directory do you want to install to?"
|
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 "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
|
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"
|
TARGET_DIR="/opt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user