summaryrefslogtreecommitdiff
path: root/misc-scripts/ftpdir-cleanup
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-06-19 18:09:31 -0400
committerAaron Griffin <aaronmgriffin@gmail.com>2008-06-19 18:09:31 -0400
commitb969bbff9e04b573a7bde42ee98890a5e84cb1f7 (patch)
treea20baaaae466f0fdbe16eddbb79a2a5c07d15b4c /misc-scripts/ftpdir-cleanup
parentdf172d0deeb21640bd6d557fbd4eff9d99f97a99 (diff)
Make blank lines conditional
Mainly for output cleanup Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'misc-scripts/ftpdir-cleanup')
-rwxr-xr-xmisc-scripts/ftpdir-cleanup6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index 6cbb893..e44dd92 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -94,15 +94,17 @@ if [ -n "$DELETEFILES" ]; then
for f in $DELETEFILES; do
echo " $f"
done
+ echo ""
fi
-echo ""
+
if [ -n "$MISSINGFILES" ]; then
echo " The following files are missing in the repo"
for f in $MISSINGFILES; do
echo " $f"
done
+ echo ""
fi
-echo ""
+
if [ -n "$EXTRAFILES" ]; then
echo " The following files are in the repo but not the db"
echo " They will be moved to /home/package-cleanup"