summaryrefslogtreecommitdiff
path: root/localdebpool
diff options
context:
space:
mode:
authorroot <root@mail.bitbase.dk>2009-02-15 20:33:45 +0100
committerroot <root@mail.bitbase.dk>2009-02-15 20:33:45 +0100
commit763683e3585da7e5839feca2b2d26887402f4f21 (patch)
treef826967e001f12258df585c623f0ca5961f0d2bf /localdebpool
parent12ed4eed5aaa1774e2edac4eb7f58bf979a1a4b1 (diff)
Clean danglingsymlinks.
Diffstat (limited to 'localdebpool')
-rwxr-xr-xlocaldebpool3
1 files changed, 3 insertions, 0 deletions
diff --git a/localdebpool b/localdebpool
index c7f4a35..a01abbe 100755
--- a/localdebpool
+++ b/localdebpool
@@ -189,6 +189,9 @@ else
exit 1
fi
+debugprint "Clean dangling symlinks below \"$PRVBASE\" and \"$PUBBASE\"..."
+symlinks -dr ${DEBUG:+-v} "$PRVBASE" "$PUBBASE"
+
# Create/update symlink farms $prvgrpdir and $pubpkgdir
#
# $PRVBASE/sections/$section/$dist/$section/$package/$pool/$buildhost