mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
makepkg: fix removing static libraries when shared use absolute symlinks
When a shared library uses an absolute symlink for its its .so file, the check if the shared version of a static library exists fails. Test for the presence of a broken symlink too. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
89b9e9d1dc
commit
9e5e86aa14
@ -1832,7 +1832,7 @@ tidy_install() {
|
||||
# check existence of backup files
|
||||
local file
|
||||
for file in "${backup[@]}"; do
|
||||
if [[ ! -f $file ]]; then
|
||||
if [[ ! -f $file && ! -h $file ]]; then
|
||||
warning "$(gettext "%s entry file not in package : %s")" "backup" "$file"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user