summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocaldebpool10
1 files changed, 5 insertions, 5 deletions
diff --git a/localdebpool b/localdebpool
index 88152e0..34e3abf 100755
--- a/localdebpool
+++ b/localdebpool
@@ -196,17 +196,17 @@ else
exit 1
fi
-echo "Clear empty dirs and files, and clean dangling symlinks..."
-debugprint "find \"$PRVBASE\" -empty -delete"
-find "$PRVBASE" -empty -delete
-debugprint "find \"$PUBBASE\" -empty -delete"
-find "$PUBBASE" -empty -delete
+echo "Clean dangling symlinks, and remove empty dirs and files..."
if [ -n "$DEBUG" ] && [ "$DEBUG" -ge 3 ]; then
debugprint "symlinks -dr ${DEBUG:+-v} \"$PRVBASE\" \"$PUBBASE\""
symlinks -dr ${DEBUG:+-v} "$PRVBASE" "$PUBBASE"
else
symlinks -dr ${DEBUG:+-v} "$PRVBASE" "$PUBBASE" > /dev/null
fi
+debugprint "find \"$PRVBASE\" -empty -delete"
+find "$PRVBASE" -empty -delete
+debugprint "find \"$PUBBASE\" -empty -delete"
+find "$PUBBASE" -empty -delete
# Create/update symlink farms $prvgrpdir and $pubpkgdir
#