Explorar el Código

Remove the inadyn commit from the completion file

Bob Mottram hace 6 años
padre
commit
27a83a9286
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone-utils-web

+ 4
- 0
src/freedombone-utils-web Ver fichero

@@ -485,6 +485,10 @@ function install_dynamicdns {
485 485
         return
486 486
     fi
487 487
 
488
+    if grep -q "INADYN_COMMIT" "$COMPLETION_FILE"; then
489
+        sed -i '/INADYN_COMMIT/d' "$COMPLETION_FILE"
490
+    fi
491
+
488 492
     CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit")
489 493
     echo "************ 3 $CURR_INADYN_COMMIT $INADYN_COMMIT"
490 494
     if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then