minor fix: incorrect filepath was displayed to user
This commit is contained in:
parent
46d064bcdd
commit
62c5bef25c
|
@ -16,7 +16,7 @@ trap "rm -rf \"${temp_dir:?}\" &>/dev/null" EXIT
|
|||
|
||||
declare input="" location="${HOME}/storage-qq2clone"
|
||||
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
|
||||
done
|
||||
|
||||
|
@ -97,7 +97,7 @@ if { command -v sudo &>/dev/null || [[ "$USER" == "root" ]]; }; then
|
|||
|
||||
else
|
||||
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 " [Man page] ${location}/qq2clone.1"
|
||||
echo "Manually move these files to desired location on this system"
|
||||
|
|
Loading…
Reference in New Issue