Prechádzať zdrojové kódy

fix #840 : check for whiptail in detect mode (#844)

Thibault "bui" Koechlin 4 rokov pred
rodič
commit
1d21679b3f
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      wizard.sh

+ 2 - 1
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