diff options
author | Francois Charette <francois@archlinux.org> | 2009-07-21 14:00:51 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-07-21 10:09:54 -0700 |
commit | 868df42ab97baecb7032fc576f3595dfc02674c5 (patch) | |
tree | bea79ffec5e72fe57c73205e8a15569741221908 /misc-scripts | |
parent | 9cf363c8e055a5fec8bbf51f43ac8123b2fee742 (diff) |
Very minor additions
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'misc-scripts')
-rwxr-xr-x | misc-scripts/ftpdir-cleanup | 3 |
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 |