summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-cleanup4
1 files changed, 4 insertions, 0 deletions
diff --git a/db-cleanup b/db-cleanup
index 72790f1..904c06e 100755
--- a/db-cleanup
+++ b/db-cleanup
@@ -60,4 +60,8 @@ for POOL in ${PKGPOOLS[@]} ${SRCPOOLS[@]}; do
${FTP_BASE}/${POOL}/
done
+msg "Removing symlinks:"
+find -L ${FTP_BASE}/ -type l
+${CLEANUP_DRYRUN} || find -L ${FTP_BASE}/ -type l -delete
+
exit $?