diff --git a/xbps-src/xbps-src.sh.in b/xbps-src/xbps-src.sh.in index e454366f6b4..19844cb0695 100644 --- a/xbps-src/xbps-src.sh.in +++ b/xbps-src/xbps-src.sh.in @@ -369,11 +369,8 @@ extract|fetch|info) info_tmpl exit $? fi - if [ "$target" = "fetch" ]; then - . $XBPS_SHUTILSDIR/fetch_funcs.sh - fetch_distfiles $update_checksum - exit $? - fi + . $XBPS_SHUTILSDIR/fetch_funcs.sh + fetch_distfiles $update_checksum . $XBPS_SHUTILSDIR/extract_funcs.sh extract_distfiles ;;