summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-24 09:05:39 +0200
committerkylo252 <[email protected]>2021-08-24 09:13:07 +0200
commitf6c706ac0c346491cc79bdea46a52ee7a8694e0d (patch)
tree0877a55108fed56aceed7ea0a0f0b46d230eeb28
parent378c1c3eb5f32da7057371fedda405250ccb67c8 (diff)
fix unrecognized rsync flag on osx
-rwxr-xr-xutils/installer/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index 989f5595..28ed990c 100755
--- a/utils/installer/install.sh
+++ b/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