common: add compatibility code for noarch in do-pkg stage
resolves #9016
This commit is contained in:
parent
c0fa439eac
commit
1c4edc0826
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@ if [ "$sourcepkg" != "$PKGNAME" ]; then
|
||||||
|
|
||||||
${PKGNAME}_package
|
${PKGNAME}_package
|
||||||
pkgname=$PKGNAME
|
pkgname=$PKGNAME
|
||||||
|
if [ -n "$noarch" ]; then
|
||||||
|
archs=noarch
|
||||||
|
unset noarch
|
||||||
|
msg_warn "deprecated property 'noarch'. Use archs=noarch instead!\n"
|
||||||
|
fi
|
||||||
|
if [ -n "$only_for_archs" ]; then
|
||||||
|
archs="$only_for_archs"
|
||||||
|
unset only_for_archs
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then
|
if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue