diff options
author | root <root@mail.bitbase.dk> | 2009-02-15 20:33:45 +0100 |
---|---|---|
committer | root <root@mail.bitbase.dk> | 2009-02-15 20:33:45 +0100 |
commit | 763683e3585da7e5839feca2b2d26887402f4f21 (patch) | |
tree | f826967e001f12258df585c623f0ca5961f0d2bf /localdebpool | |
parent | 12ed4eed5aaa1774e2edac4eb7f58bf979a1a4b1 (diff) |
Clean danglingsymlinks.
Diffstat (limited to 'localdebpool')
-rwxr-xr-x | localdebpool | 3 |
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 |