From e48d42617d78e0a48ae6a2e9616004785ac266d5 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Fri, 31 Jul 2020 01:48:58 +0200 Subject: [PATCH] Update vesta_compile.sh --- src/deb/vesta_compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deb/vesta_compile.sh b/src/deb/vesta_compile.sh index 6a8e589e..d266d228 100644 --- a/src/deb/vesta_compile.sh +++ b/src/deb/vesta_compile.sh @@ -171,7 +171,7 @@ if [ ! -d "/root/backup-www" ]; then mkdir /root/backup-www fi echo "=== Making backup of $WWW_FOLDER" -rsync -a $WWW_FOLDER/ /root/backup-www/ +rsync -a --delete $WWW_FOLDER/ /root/backup-www/ if [ $build_deb_package -eq 1 ]; then if [ "$APTWEB_B" = true ]; then