From c4435b0b563d3f83dedf933601c84e44c4a57578 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 29 Mar 2009 09:46:55 +0200 Subject: [PATCH] Bah, fix another error with custom-install and distfiles not set. --HG-- extra : convert_revision : e234012ab35ffa018945366eb81ecdabefdd5b01 --- shutils/extract_funcs.sh | 3 +-- shutils/tmpl_funcs.sh | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/shutils/extract_funcs.sh b/shutils/extract_funcs.sh index 5a619116b55..5278aea461e 100644 --- a/shutils/extract_funcs.sh +++ b/shutils/extract_funcs.sh @@ -54,8 +54,7 @@ extract_distfiles() # # If noextract is set, do a "fake extraction". # - if [ -n "$noextract" ]; then - msg_normal "Manual extraction for $pkgname-$lver." + if [ -z "$distfiles" -o -n "$noextract" ]; then mkdir $wrksrc touch -f $XBPS_EXTRACT_DONE return 0 diff --git a/shutils/tmpl_funcs.sh b/shutils/tmpl_funcs.sh index 78bd4578d1f..a7d5825db06 100644 --- a/shutils/tmpl_funcs.sh +++ b/shutils/tmpl_funcs.sh @@ -160,11 +160,6 @@ prepare_tmpl() # [ "$build_style" = "meta-template" ] && return 0 - if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then - set_tmpl_common_vars - return 0 - fi - REQ_VARS="pkgname version build_style short_desc long_desc" # Check if required vars weren't set.