mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-15 13:55:09 -05:00
Remove symlinks to libtool files
This prevents dangling symlinks to removed libtool files when the !libtool option is used. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
deec3c8d00
commit
d534488f2d
@ -765,7 +765,7 @@ tidy_install() {
|
|||||||
|
|
||||||
if [ "$(check_option libtool)" = "n" ]; then
|
if [ "$(check_option libtool)" = "n" ]; then
|
||||||
msg2 "$(gettext "Removing libtool .la files...")"
|
msg2 "$(gettext "Removing libtool .la files...")"
|
||||||
find . -type f -name "*.la" -exec rm -f -- '{}' \;
|
find . ! -type d -name "*.la" -exec rm -f -- '{}' \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(check_option emptydirs)" = "n" ]; then
|
if [ "$(check_option emptydirs)" = "n" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user