summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Charette <francois@archlinux.org>2009-07-21 14:00:51 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-21 10:09:54 -0700
commit868df42ab97baecb7032fc576f3595dfc02674c5 (patch)
treebea79ffec5e72fe57c73205e8a15569741221908
parent9cf363c8e055a5fec8bbf51f43ac8123b2fee742 (diff)
Very minor additions
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xmisc-scripts/ftpdir-cleanup3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index b28ec94..fc99c46 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -113,6 +113,7 @@ for arch in ${ARCHES[@]}; do
#Make sure we've done *something* before outputting anything
if [ -z "$DELETEFILES$DELETESYMLINKS$MISSINGFILES$EXTRAFILES" ]; then
+ echo "(nothing to do for $arch)"
continue
fi
@@ -180,7 +181,7 @@ if [ -d "$ftppath_base/any" ]; then
# teststring="$teststring -a ! -h $ftppath_base/$arch/$pkg"
# done
# teststring=$(echo $teststring | sed 's/^ -a//')
- # if [ eval "$teststring" ]; then
+ # if [ $teststring ]; then
if [ ! -h "$ftppath_base/i686/$pkg" -a ! -h "$ftppath_base/x86_64/$pkg" ]; then
ARCHINDEPFILES="$ARCHINDEPFILES $pkg"
fi