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

+ 2
- 3
src/freedombone-app-mediagoblin Zobrazit soubor

@@ -302,6 +302,8 @@ function install_mediagoblin {
302 302
 
303 303
     MEDIAGOBLIN_ONION_HOSTNAME=$(add_onion_service mediagoblin 80 ${MEDIAGOBLIN_ONION_PORT})
304 304
     set_completion_param "mediagoblin domain" "${MEDIAGOBLIN_DOMAIN_NAME}"
305
+    set_completion_param "mediagoblin onion domain" "$MEDIAGOBLIN_ONION_HOSTNAME"
306
+    set_completion_param "mediagoblin commit" "$MEDIAGOBLIN_COMMIT"
305 307
 
306 308
     if [[ $ONION_ONLY == "no" ]]; then
307 309
         function_check nginx_http_redirect
@@ -490,9 +492,6 @@ function install_mediagoblin {
490 492
     function_check add_ddns_domain
491 493
     add_ddns_domain $MEDIAGOBLIN_DOMAIN_NAME
492 494
 
493
-    set_completion_param "mediagoblin domain" "$MEDIAGOBLIN_DOMAIN_NAME"
494
-    set_completion_param "mediagoblin commit" "$MEDIAGOBLIN_COMMIT"
495
-
496 495
     APP_INSTALLED=1
497 496
 }
498 497