From b26931c3a1e2f324f439cd447a5df34dcda4ca7a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 6 Oct 2011 17:05:17 +0200 Subject: [PATCH] xbps-src: minor improvements. --- xbps-src/xbps-src.sh.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xbps-src/xbps-src.sh.in b/xbps-src/xbps-src.sh.in index 0e91a576320..8875ae01840 100644 --- a/xbps-src/xbps-src.sh.in +++ b/xbps-src/xbps-src.sh.in @@ -430,7 +430,7 @@ extract|fetch|info) exit $? fi fetch_distfiles $update_checksum - extract_distfiles + [ "$target" = "extract" ] && extract_distfiles ;; install) if [ -z "${_pkgname}" ]; then @@ -442,7 +442,6 @@ install) if [ -z "$IN_CHROOT" -a -z "$bootstrap" ]; then xbps_chroot_handler $target ${_ORIGINPKG} || exit $? else - setup_tmpl ${_ORIGINPKG} install_pkg $pkgname || exit $? fi ;;