From b95a49b2438b0387ef679dddf8cac1bd48b93fdf Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 14 Mar 2019 19:25:00 -0300 Subject: [PATCH] meta: remove last bits. --- common/xbps-src/shutils/common.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index ddccfd3fa67..0a6dd25f43b 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -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"