Use full path when excluding dirs from rsync

pull/5/head
jmechnich 2 years ago
parent 7baa6b407f
commit 0e109b9f2d

@ -35,13 +35,13 @@ else
chown -R $OWNER_UID:$OWNER_GID $DST_DIR chown -R $OWNER_UID:$OWNER_GID $DST_DIR
sudo -u app rsync -a --delete \ sudo -u app rsync -a --delete \
--exclude cache \ --exclude /cache \
--exclude lock \ --exclude /lock \
--exclude feed-icons \ --exclude /feed-icons \
--exclude plugins/af_comics/filters.local \ --exclude /plugins/af_comics/filters.local \
--exclude plugins.local \ --exclude /plugins.local \
--exclude templates.local \ --exclude /templates.local \
--exclude themes.local \ --exclude /themes.local \
$SRC_DIR/ $DST_DIR/ $SRC_DIR/ $DST_DIR/
sudo -u app rsync -a --delete \ sudo -u app rsync -a --delete \

Loading…
Cancel
Save