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 "Warning: could not determine installed version of $app."
|
||||||
echo "compile.conf specifies version $latest."
|
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] ]]
|
[[ "$response" =~ ^[yY] ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -252,7 +252,7 @@ process_app() {
|
|||||||
|
|
||||||
if [ -z "$version" ]; then
|
if [ -z "$version" ]; then
|
||||||
echo " Warning: no version specified in compile.conf for $app."
|
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
|
if [[ ! "$response" =~ ^[yY] ]]; then
|
||||||
echo " Skipping $app."
|
echo " Skipping $app."
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ else
|
|||||||
echo "HamPackServer installation completed with errors. Please review the output above."
|
echo "HamPackServer installation completed with errors. Please review the output above."
|
||||||
fi
|
fi
|
||||||
echo ""
|
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
|
case "$response" in
|
||||||
[yY][eE][sS]|[yY])
|
[yY][eE][sS]|[yY])
|
||||||
echo "Rebooting..."
|
echo "Rebooting..."
|
||||||
|
|||||||
Reference in New Issue
Block a user