meta: remove last bits.

This commit is contained in:
maxice8 2019-03-14 19:25:00 -03:00
parent 2536f0c67a
commit b95a49b243
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -350,16 +350,6 @@ setup_pkg() {
source_file ${XBPS_SRCPKGDIR}/${basepkg}/template
fi
# Backward compatibility to noarch and only_for_archs
if [ -n "$only_for_archs" ] && [ -n "$noarch" ]; then
msg_error "only_for_archs and noarch can't be used together\n"
fi
if [ -n "$only_for_archs" ]; then
archs="$only_for_archs"
unset only_for_archs
msg_warn "deprecated property 'only_for_archs'. Use archs=\"$only_for_archs\" instead!\n"
fi
# Check if required vars weren't set.
_vars="pkgname version short_desc revision homepage license"