Explorar o código

fix unrecognized rsync flag on osx

kylo252 %!s(int64=3) %!d(string=hai) anos
pai
achega
f6c706ac0c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      utils/installer/install.sh

+ 2 - 2
utils/installer/install.sh

@@ -207,8 +207,8 @@ function backup_old_config() {
     # that require an existing directory
     mkdir -p "$dir" "$dir.bak"
     if command -v rsync &>/dev/null; then
-      rsync --archive -hh --partial --info=stats1 --info=progress2 \
-        --modify-window=1 "$dir" "$dir.bak"
+      rsync --archive -hh --partial --progress \
+        --modify-window=1 "$dir"/ "$dir.bak"
     else
       cp -R "$dir/*" "$dir.bak/."
     fi