From 9745bec65d875d82a56983cdb8ea1bec6feeaec2 Mon Sep 17 00:00:00 2001 From: Dmitriy Safronov Date: Sat, 19 Feb 2022 00:31:29 +0300 Subject: [PATCH] checksum --- sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.sh b/sync.sh index 655e33c..432da27 100644 --- a/sync.sh +++ b/sync.sh @@ -37,7 +37,7 @@ if [ -n "$OPENWRT_GIT_URL" ]; then git reset -q --hard || die "Couldn't reset repo" git pull -q || die "Couldn't pull repo" - LC_ALL=C.UTF-8 rsync -qax --delete-after --exclude '*-opkg' -e "ssh -p ${OPENWRT_SSH_PORT:-22}" "${OPENWRT_SSH_HOST:-root@192.168.0.1}:/overlay/upper/" overlay/ || die "Couldn't rsync config" + LC_ALL=C.UTF-8 rsync -acxq --delete-after --exclude '*-opkg' -e "ssh -p ${OPENWRT_SSH_PORT:-22}" "${OPENWRT_SSH_HOST:-root@192.168.0.1}:/overlay/upper/" overlay/ || die "Couldn't rsync config" find overlay/ -type d -empty -exec touch {}/.gitkeep \; git add -A > /dev/null || die "Couldn't add files" -- GitLab