summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-21 20:14:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-21 20:14:42 +0100
commit0130eca14ee619d5ffe5afeebcff2522bdfd06a2 (patch)
tree950f7bd0ea7ebc491acff0643f11870c303390c9
parentde0c93a652333b242e7ea282110619f25de7be8d (diff)
downloaddbscripts-0130eca14ee619d5ffe5afeebcff2522bdfd06a2.tar.gz
dbscripts-0130eca14ee619d5ffe5afeebcff2522bdfd06a2.tar.xz
remove unneeded and now broken check
-rwxr-xr-xmisc-scripts/ftpdir-cleanup1
1 files changed, 0 insertions, 1 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index 6a69d72..ccd867e 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -53,7 +53,6 @@ for arch in ${ARCHES[@]}; do
for pkg in $TMPDIR/*; do
filename=$(grep -A1 '^%FILENAME%$' "${pkg}/desc" | tail -n1)
- [ -z "${filename}" ] && filename="${pkg}${PKGEXT}"
if [ ! -e "${filename}" ]; then
MISSINGFILES="${MISSINGFILES} ${filename}"