imp: correction of add-ons to uninstall manual verification

This commit is contained in:
Stéphan Sainléger
2024-11-26 09:22:24 +01:00
parent d17282586b
commit 5057f2821c

View File

@@ -40,11 +40,11 @@ Do you accept to uninstall all these add-ons? (Y/N/R)"
echo "Y - Yes, let's go on with the upgrade." echo "Y - Yes, let's go on with the upgrade."
echo "N - No, stop the upgrade" echo "N - No, stop the upgrade"
echo "R - I've edited the list, please Re-display it" echo "R - I've edited the list, please Re-display it"
read -p "Your choice: " choice read -n 1 -p "Your choice: " choice
case $choice in case "$choice" in
[Yy]* ) return 0;; [Yy] ) return 0;;
[Nn]* ) return 1;; [Nn] ) return 1;;
[Rr]* ) display_combined_list; continue;; [Rr] ) display_combined_list; continue;;
* ) echo "Please answer by Y, N or R.";; * ) echo "Please answer by Y, N or R.";;
esac esac
done done