From: Ansgar Burchardt Date: Mon, 22 Jul 2013 21:23:05 +0000 (+0200) Subject: sync-dd: ignore ftp and mirror even if they are symlinks X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0adba148b67b4e310f87b65c316ae62a24ed6053;p=dak.git sync-dd: ignore ftp and mirror even if they are symlinks On the ftp-master mirror "ftp" and "mirror" are symlinks to a Debian archive mirror. These should be left untouched even though they are not directories. --- diff --git a/scripts/debian/sync-dd b/scripts/debian/sync-dd index 4fa3e87e..002cd46e 100755 --- a/scripts/debian/sync-dd +++ b/scripts/debian/sync-dd @@ -75,10 +75,10 @@ if lockfile -r3 "${lockfile}"; then --exclude "/build-queues/" \ --exclude "/database/*.db" \ --exclude ".da-backup.trace" \ - --exclude "/ftp/" \ + --exclude "/ftp" \ --exclude "lost+found" \ --exclude "/lock/" \ - --exclude "/mirror/" \ + --exclude "/mirror" \ --exclude "/morgue/" \ --exclude "/queue/bts_version_track/" \ --exclude "/queue/unchecked/" \