summaryrefslogtreecommitdiff
path: root/misc-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'misc-scripts')
-rwxr-xr-xmisc-scripts/ftpdir-cleanup6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index fc99c46..22d227a 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -109,14 +109,13 @@ for arch in ${ARCHES[@]}; do
fi
done
- echo "Scan complete for $reponame ($arch) at ${ftppath}"
-
#Make sure we've done *something* before outputting anything
if [ -z "$DELETEFILES$DELETESYMLINKS$MISSINGFILES$EXTRAFILES" ]; then
- echo "(nothing to do for $arch)"
continue
fi
+ echo "Scan complete for $reponame ($arch) at ${ftppath}"
+
if [ -n "$DELETEFILES" ]; then
echo " The following files are out of date"
echo " They will be moved to '$dest'"
@@ -171,7 +170,6 @@ done
ARCHINDEPFILES=""
if [ -d "$ftppath_base/any" ]; then
- echo "Checking arch-independent files..."
cd "$ftppath_base/any"
for pkg in *$PKGEXT; do
[ -f "$pkg" ] || continue # in case we get a file named "*.pkg.tar.gz"