Bob Mottram hace 8 años
padre
commit
546cb11ba4
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      src/freedombone-app-postactiv

+ 5
- 0
src/freedombone-app-postactiv Ver fichero

341
 }
341
 }
342
 
342
 
343
 function upgrade_postactiv {
343
 function upgrade_postactiv {
344
+    CURR_POSTACTIV_COMMIT=$(get_completion_param "postactiv commit")
345
+    if [[ "$CURR_POSTACTIV_COMMIT" == "$POSTACTIV_COMMIT" ]]; then
346
+        return
347
+    fi
348
+
344
     if grep -q "postactiv domain" $COMPLETION_FILE; then
349
     if grep -q "postactiv domain" $COMPLETION_FILE; then
345
         POSTACTIV_DOMAIN_NAME=$(get_completion_param "postactiv domain")
350
         POSTACTIV_DOMAIN_NAME=$(get_completion_param "postactiv domain")
346
     fi
351
     fi