xbps-src: minor improvements.

This commit is contained in:
Juan RP 2011-10-06 17:05:17 +02:00
parent df7f846d5a
commit b26931c3a1

View File

@ -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
;;