From: Joerg Jaspert Date: Sun, 19 Jun 2016 11:53:40 +0000 (+0200) Subject: And check for existance, not type too X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=2f03955b56fa89c67a9d45af6543b82adb4b1f41;ds=sidebyside And check for existance, not type too --- diff --git a/scripts/debian/link_morgue.sh b/scripts/debian/link_morgue.sh index 2f434d8b..0dc693be 100755 --- a/scripts/debian/link_morgue.sh +++ b/scripts/debian/link_morgue.sh @@ -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