minor fix: incorrect filepath was displayed to user

This commit is contained in:
Jesse Gardner 2021-07-14 12:25:18 -07:00
parent 46d064bcdd
commit 62c5bef25c
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ trap "rm -rf \"${temp_dir:?}\" &>/dev/null" EXIT
declare input="" location="${HOME}/storage-qq2clone" declare input="" location="${HOME}/storage-qq2clone"
while [[ ! "$input" =~ ^(y|n|Y|N)$ ]]; do while [[ ! "$input" =~ ^(y|n|Y|N)$ ]]; do
echo "[y/n] Use default storage directory '$location'?" echo "[y/n] Use default storage directory '$location' ?"
read -rn1 input; echo read -rn1 input; echo
done done
@ -97,7 +97,7 @@ if { command -v sudo &>/dev/null || [[ "$USER" == "root" ]]; }; then
else else
echo "sudo is not installed on this system, so script and man page files" echo "sudo is not installed on this system, so script and man page files"
echo "will not be moved to /usr/bin/ and /usr/share/man" echo "will not be moved to /usr/bin/ and /usr/local/man"
echo " [Main script] ${location}/qq2clone" echo " [Main script] ${location}/qq2clone"
echo " [Man page] ${location}/qq2clone.1" echo " [Man page] ${location}/qq2clone.1"
echo "Manually move these files to desired location on this system" echo "Manually move these files to desired location on this system"