]> git.decadent.org.uk Git - dak.git/blobdiff - scripts/debian/link_morgue.sh
And check for existance, not type too
[dak.git] / scripts / debian / link_morgue.sh
index 2f434d8bfde5e58241b9e861f508bdc82c193e2a..0dc693be845fd6755af0602adc784e8509b8c93f 100755 (executable)
@@ -85,7 +85,7 @@ cd "${PROCESSDIR}"
 log "Processing ${PROCESSDIR}"
 find ${PROCESSDIR} -type f |
 while read mfile; do
-    if [[ -f ${mfile}.nosnapshot ]]; then
+    if [[ -e ${mfile}.nosnapshot ]]; then
         # We know this file does not exist on snapshot, don't check again
         continue
     fi