fix the end...
This commit is contained in:
@@ -70,7 +70,7 @@ ask_user_proceed() {
|
||||
|
||||
echo "Warning: could not determine installed version of $app."
|
||||
echo "compile.conf specifies version $latest."
|
||||
read -rp "Compile and install $app anyway? [y/N] " response
|
||||
read -rp "Compile and install $app anyway? [y/N] " response </dev/tty
|
||||
[[ "$response" =~ ^[yY] ]]
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@ process_app() {
|
||||
|
||||
if [ -z "$version" ]; then
|
||||
echo " Warning: no version specified in compile.conf for $app."
|
||||
read -rp " Compile and install $app anyway? [y/N] " response
|
||||
read -rp " Compile and install $app anyway? [y/N] " response </dev/tty
|
||||
if [[ ! "$response" =~ ^[yY] ]]; then
|
||||
echo " Skipping $app."
|
||||
return
|
||||
|
||||
@@ -181,7 +181,7 @@ else
|
||||
echo "HamPackServer installation completed with errors. Please review the output above."
|
||||
fi
|
||||
echo ""
|
||||
read -rp "A reboot is required to complete setup. Reboot now? [y/N] " response
|
||||
read -rp "A reboot is required to complete setup. Reboot now? [y/N] " response </dev/tty
|
||||
case "$response" in
|
||||
[yY][eE][sS]|[yY])
|
||||
echo "Rebooting..."
|
||||
|
||||
Reference in New Issue
Block a user