002-fix_dupes_per_archive: prep consistency w/ 003

pull/604/head
GlassedSilver 4 years ago
parent 37107148eb
commit 8d8c52e009

@ -42,11 +42,11 @@ i=0
# Ask to proceed or cancel, exit on missing paths # Ask to proceed or cancel, exit on missing paths
case $i in case $i in
0) 0)
printf "\n\n Couldn't find any archive location path to fix dupes for! \n\nPlease edit this script to configure!" printf "\n\n Couldn't find any archive location path! \n\nPlease edit this script to configure!"
tput cnorm tput cnorm
exit 2;; exit 2;;
2) 2)
printf "\n\n Found all archive locations to fix dupes for. \n\nProceed? (Y/N)";; printf "\n\n Found all archive locations. \n\nProceed? (Y/N)";;
*) *)
printf "\n\n Only found ${i} out of 2 archive locations! Something about this script's config must be wrong. \n\nProceed anyways? (Y/N)";; printf "\n\n Only found ${i} out of 2 archive locations! Something about this script's config must be wrong. \n\nProceed anyways? (Y/N)";;
esac esac
@ -133,7 +133,7 @@ if echo "$answer" | grep -iq "^y" ;then
printf "\n\n✔ Done." printf "\n\n✔ Done."
printf "\n Please keep in mind that you may still want to" printf "\n Please keep in mind that you may still want to"
printf "\n run sanity checks against your archives!\n\n" printf "\n run corruption checks against your archives!\n\n"
exit exit
else else
tput cnorm tput cnorm

Loading…
Cancel
Save