From 0e109b9f2dd81e5537849f94055a76379a7c004d Mon Sep 17 00:00:00 2001 From: jmechnich Date: Thu, 24 Nov 2022 04:21:30 +0100 Subject: [PATCH] Use full path when excluding dirs from rsync --- src/app/startup.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/startup.sh b/src/app/startup.sh index 74598ec..f205903 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -35,13 +35,13 @@ else chown -R $OWNER_UID:$OWNER_GID $DST_DIR sudo -u app rsync -a --delete \ - --exclude cache \ - --exclude lock \ - --exclude feed-icons \ - --exclude plugins/af_comics/filters.local \ - --exclude plugins.local \ - --exclude templates.local \ - --exclude themes.local \ + --exclude /cache \ + --exclude /lock \ + --exclude /feed-icons \ + --exclude /plugins/af_comics/filters.local \ + --exclude /plugins.local \ + --exclude /templates.local \ + --exclude /themes.local \ $SRC_DIR/ $DST_DIR/ sudo -u app rsync -a --delete \