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 $? exit $?
fi fi
fetch_distfiles $update_checksum fetch_distfiles $update_checksum
extract_distfiles [ "$target" = "extract" ] && extract_distfiles
;; ;;
install) install)
if [ -z "${_pkgname}" ]; then if [ -z "${_pkgname}" ]; then
@ -442,7 +442,6 @@ install)
if [ -z "$IN_CHROOT" -a -z "$bootstrap" ]; then if [ -z "$IN_CHROOT" -a -z "$bootstrap" ]; then
xbps_chroot_handler $target ${_ORIGINPKG} || exit $? xbps_chroot_handler $target ${_ORIGINPKG} || exit $?
else else
setup_tmpl ${_ORIGINPKG}
install_pkg $pkgname || exit $? install_pkg $pkgname || exit $?
fi fi
;; ;;