xbps-src: for meta-templates always set no{extract,fetch}.

This commit is contained in:
Juan RP 2011-07-07 18:07:08 +02:00
parent 54d75f3f27
commit f731f08540
2 changed files with 5 additions and 18 deletions

View file

@ -219,16 +219,13 @@ prepare_tmpl()
{
local REQ_VARS i found
#
# There's nothing of interest if we are a meta template.
#
if [ "$build_style" = "meta-template" ]; then
set_tmpl_common_vars
return 0
fi
REQ_VARS="pkgname version build_style short_desc long_desc"
if [ "$build_style" = "meta-template" ]; then
nofetch=yes
noextract=yes
fi
# Check if required vars weren't set.
for i in ${REQ_VARS}; do
eval val="\$$i"