From 763683e3585da7e5839feca2b2d26887402f4f21 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 Feb 2009 20:33:45 +0100 Subject: Clean danglingsymlinks. --- localdebpool | 3 +++ 1 file changed, 3 insertions(+) (limited to 'localdebpool') 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 -- cgit v1.2.3