Commit ade4a54a authored by Natanael Copa's avatar Natanael Copa
Browse files

remove empty dirs after doc subpackages

parent ee609dab
......@@ -190,6 +190,10 @@ doc() {
mv "$pkgdir/usr/share/$i" "$subpkgdir/usr/share/"
# remove if empty, ignore error (not empty)
rmdir "$pkgdir/usr/share" "$pkgdir/usr" 2>/dev/null
[ -d "$subpkgdir/usr/share/man" ] && depends="man"
return 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment