xbps-src: fix fetch phase with depends, performance improvements.
- The fetch phase *must* run after installing pkg dependencies, otherwise it could fail if we need them for fetching. - Performance improvements for xbps-src. Only source shutils files at the start, not every time we use a function.
This commit is contained in:
parent
12b16e75a0
commit
7984b39928
10 changed files with 10 additions and 63 deletions
|
@ -23,8 +23,6 @@
|
|||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#-
|
||||
|
||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
|
||||
install_pkg_from_repos()
|
||||
{
|
||||
local cmd rval pkgdepname pkg="$1"
|
||||
|
@ -91,7 +89,6 @@ autoremove_pkg_dependencies()
|
|||
continue
|
||||
fi
|
||||
# remove pkg.
|
||||
. ${XBPS_SHUTILSDIR}/pkgtarget_funcs.sh
|
||||
msg_warn "removing package $pkgname installed from source...\n"
|
||||
remove_pkg
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue