Prechádzať zdrojové kódy

Update build.func

add default distribution message box
tteckster 2 rokov pred
rodič
commit
70d51d964d
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      misc/build.func

+ 2 - 1
misc/build.func

@@ -112,10 +112,11 @@ exit-script() {
 }
 }
 
 
 advanced_settings() {
 advanced_settings() {
+  whiptail --msgbox --title "Default distribution for $APP" "${var_os} \n${var_version} \n" 8 58
   if [ "$var_os" != "alpine" ]; then
   if [ "$var_os" != "alpine" ]; then
     var_os=""
     var_os=""
     while [ -z "$var_os" ]; do
     while [ -z "$var_os" ]; do
-      if var_os=$(whiptail --title "DISTRIBUTION" --radiolist "Choose" 10 58 2 \
+      if var_os=$(whiptail --title "DISTRIBUTION" --radiolist "Choose Distribution:" 10 58 2 \
         "debian" "" OFF \
         "debian" "" OFF \
         "ubuntu" "" OFF \
         "ubuntu" "" OFF \
         3>&1 1>&2 2>&3); then
         3>&1 1>&2 2>&3); then