diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-02-23 03:56:29 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-02-23 03:56:29 +0100 |
commit | ba7968503f18e5a2537d7d87ce2a5caa582f04f7 (patch) | |
tree | a038e7f3f7b81856799b3045d28cd03cc94e91da | |
parent | 0130eca14ee619d5ffe5afeebcff2522bdfd06a2 (diff) | |
download | dbscripts-ba7968503f18e5a2537d7d87ce2a5caa582f04f7.tar.gz dbscripts-ba7968503f18e5a2537d7d87ce2a5caa582f04f7.tar.xz |
Hide 'file not found' message20100223
-rwxr-xr-x | misc-scripts/ftpdir-cleanup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup index ccd867e..a185090 100755 --- a/misc-scripts/ftpdir-cleanup +++ b/misc-scripts/ftpdir-cleanup @@ -77,7 +77,7 @@ for arch in ${ARCHES[@]}; do pkgname="$(getpkgname $pkg)" for p in ${TMPDIR}/${pkgname}-*; do [ ! -d "${p}" ] || continue 2 - dbpkgname=$(grep -A1 '^%FILENAME%$' "${p}/desc" | tail -n1) + dbpkgname=$(grep -A1 '^%FILENAME%$' "${p}/desc" 2>/dev/null| tail -n1) if [ "${dbpkgname}" = "${pkgname}" ]; then continue 2 fi |