Преглед изворни кода

Don't sync if upgrading inadyn repo

Bob Mottram пре 7 година
родитељ
комит
45e1e83e63
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4
    4
      src/freedombone-utils-web

+ 4
- 4
src/freedombone-utils-web Прегледај датотеку

491
         if [ -d "$INSTALL_DIR/inadyn" ]; then
491
         if [ -d "$INSTALL_DIR/inadyn" ]; then
492
             rm -rf "$INSTALL_DIR/inadyn"
492
             rm -rf "$INSTALL_DIR/inadyn"
493
         fi
493
         fi
494
+    else
495
+        # update to the next commit
496
+        function_check set_repo_commit
497
+        set_repo_commit "$INSTALL_DIR/inadyn" "inadyn commit" "$INADYN_COMMIT" "$INADYN_REPO"
494
     fi
498
     fi
495
 
499
 
496
-    # update to the next commit
497
-    function_check set_repo_commit
498
-    set_repo_commit "$INSTALL_DIR/inadyn" "inadyn commit" "$INADYN_COMMIT" "$INADYN_REPO"
499
-
500
     # Here we compile from source because the current package
500
     # Here we compile from source because the current package
501
     # doesn't support https, which could result in passwords
501
     # doesn't support https, which could result in passwords
502
     # being leaked
502
     # being leaked