abuild: set arch to noarch for -doc packages
This commit is contained in:
parent
5e41f09733
commit
650c0344ff
|
@ -672,6 +672,7 @@ default_doc() {
|
||||||
depends="$depends_doc"
|
depends="$depends_doc"
|
||||||
install="$install_doc"
|
install="$install_doc"
|
||||||
triggers="$triggers_doc"
|
triggers="$triggers_doc"
|
||||||
|
arch=${arch_doc:-"noarch"}
|
||||||
local i
|
local i
|
||||||
for i in doc man info html sgml licenses gtk-doc; do
|
for i in doc man info html sgml licenses gtk-doc; do
|
||||||
if [ -d "$pkgdir/usr/share/$i" ]; then
|
if [ -d "$pkgdir/usr/share/$i" ]; then
|
||||||
|
|
Loading…
Reference in New Issue