Bob Mottram před 7 roky
rodič
revize
ae396b0e63
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      src/freedombone-app-kanboard

+ 2
- 2
src/freedombone-app-kanboard Zobrazit soubor

@@ -89,7 +89,7 @@ function install_interactive_kanboard {
89 89
                        --title $"KanBoard Configuration" \
90 90
                        --form $"\nPlease enter your KanBoard details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 2 \
91 91
                        $"Domain:" 1 1 "$(grep 'KANBOARD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
92
-                       $"Code:" 4 1 "$(grep 'KANBOARD_CODE' temp.cfg | awk -F '=' '{print $2}')" 4 25 33 255 \
92
+                       $"Code:" 2 1 "$(grep 'KANBOARD_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 25 33 255 \
93 93
                        2> $data
94 94
             else
95 95
                 dialog --backtitle $"Freedombone Configuration" \
@@ -115,7 +115,7 @@ function install_interactive_kanboard {
115 115
                     dialog --title $"Domain name validation" --msgbox "$TEST_DOMAIN_NAME" 15 50
116 116
                 else
117 117
                     if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
118
-                        KANBOARD_CODE=$(cat $data | sed -n 4p)
118
+                        KANBOARD_CODE=$(cat $data | sed -n 2p)
119 119
                         validate_freedns_code "$KANBOARD_CODE"
120 120
                         if [ ! $VALID_CODE ]; then
121 121
                             KANBOARD_DOMAIN_NAME=