abuild: clean up empty /lib directory

unless options="keepdirs" is specified

the same behavior is already applied to /usr/lib
This commit is contained in:
Celeste 2024-12-31 07:43:04 +00:00 committed by Natanael Copa
parent 28b91ef155
commit fb2543ffb9

View File

@ -1812,6 +1812,7 @@ create_apks() {
"$pkgdir"/usr/share \
"$pkgdir"/usr \
"$pkgdir"/etc/ \
"$pkgdir"/lib/ \
2>/dev/null || :
fi
if ! options_has "!tracedeps"; then