]> git.decadent.org.uk Git - dak.git/commitdiff
sync-dd: ignore ftp and mirror even if they are symlinks
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 22 Jul 2013 21:23:05 +0000 (23:23 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 22 Jul 2013 21:23:05 +0000 (23:23 +0200)
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.

scripts/debian/sync-dd

index 4fa3e87e0c8b04bf87d6b0cf84f6773db89da98f..002cd46e31fc647b4e89b6c4624e926582606996 100755 (executable)
@@ -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/" \