abuild: remove empty dirs in main package
clean up empty dirs
This commit is contained in:
parent
ba16a67781
commit
b8b8a651fc
|
@ -1491,6 +1491,12 @@ create_apks() {
|
||||||
local file= dir= name= ver= apk= datadir= size=
|
local file= dir= name= ver= apk= datadir= size=
|
||||||
local gzip=$(command -v pigz || echo gzip)
|
local gzip=$(command -v pigz || echo gzip)
|
||||||
getpkgver || return 1
|
getpkgver || return 1
|
||||||
|
rmdir "$pkgdir"/usr/lib \
|
||||||
|
"$pkgdir"/usr/bin \
|
||||||
|
"$pkgdir"/usr/share \
|
||||||
|
"$pkgdir"/usr \
|
||||||
|
"$pkgdir"/etc/
|
||||||
|
2>/dev/null || :
|
||||||
if ! options_has "!tracedeps"; then
|
if ! options_has "!tracedeps"; then
|
||||||
for file in "$pkgbasedir"/.control.*/.PKGINFO; do
|
for file in "$pkgbasedir"/.control.*/.PKGINFO; do
|
||||||
dir="${file%/.PKGINFO}"
|
dir="${file%/.PKGINFO}"
|
||||||
|
|
Loading…
Reference in New Issue