Skip to content
Snippets Groups Projects
Commit 20ac0ea1 authored by Oliver Sander's avatar Oliver Sander
Browse files

Accept y,Y,n,N as an answer to a yes-no question

Viz., the question on whether all packages should be enabled by default.

This fixes FS 1647.
parent 58221538
Branches
Tags
No related merge requests found
......@@ -225,7 +225,7 @@ while [ "$DATACORRECT" != "y" -a "$DATACORRECT" != "Y" ]; do
while [ -z "$MAINTAINER" ]; do
read -p "4) Maintainer's email address? " MAINTAINER
done
while [ "$ENABLE_ALL" != "y" -a "$ENABLE_ALL" != "N" ]; do
while [ "$ENABLE_ALL" != "y" -a "$ENABLE_ALL" != "Y" -a "$ENABLE_ALL" != "n" -a "$ENABLE_ALL" != "N" ]; do
read -p "5) Enable all available packages? (Choose 'y' if you don't understand the question.) [y/N]" ENABLE_ALL
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment