summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-06-20 00:09:31 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-06-20 00:09:31 +0200
commitb969bbff9e04b573a7bde42ee98890a5e84cb1f7 (patch)
treea20baaaae466f0fdbe16eddbb79a2a5c07d15b4c
parentdf172d0deeb21640bd6d557fbd4eff9d99f97a99 (diff)
downloaddbscripts-b969bbff9e04b573a7bde42ee98890a5e84cb1f7.tar.gz
dbscripts-b969bbff9e04b573a7bde42ee98890a5e84cb1f7.tar.xz
Make blank lines conditional
Mainly for output cleanup Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-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"