abuild: set arch for -openrc subpackage to noarch

This commit is contained in:
Sören Tempel 2018-03-11 16:20:19 +01:00
parent f5eb69a5bd
commit 54dbf5f383
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ subpkg_set() {
subpkgarch=${_splitarch#*:}
if [ "$subpkgarch" = "$_splitarch" -o -z "$subpkgarch" ]; then
case "$subpkgname" in
*-doc | *-lang | *-lang-*) subpkgarch="noarch" ;;
*-doc | *-openrc | *-lang | *-lang-*) subpkgarch="noarch" ;;
*) subpkgarch="$pkgarch" ;;
esac
fi