From 1d21679b3f9c2eba39b79c6e6fa8e19646d291cd Mon Sep 17 00:00:00 2001 From: "Thibault \"bui\" Koechlin" Date: Thu, 1 Jul 2021 13:50:40 +0200 Subject: [PATCH] fix #840 : check for whiptail in detect mode (#844) --- wizard.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wizard.sh b/wizard.sh index 8e4ba7ab1..a1521470b 100755 --- a/wizard.sh +++ b/wizard.sh @@ -523,7 +523,8 @@ function show_link { } main() { - if [ "$1" == "install" ] || [ "$1" == "configure" ]; then + + if [ "$1" == "install" ] || [ "$1" == "configure" ] || [ "$1" == "detect" ]; then if [ "${SILENT}" == "false" ]; then which whiptail > /dev/null if [ $? -ne 0 ]; then