xbps-src: remove autodeps before updating bootstrap pkgs.

This commit is contained in:
Juan RP 2014-05-15 16:43:35 +02:00
parent f8bde05dcb
commit 6b1d54f873
1 changed files with 3 additions and 0 deletions

View File

@ -534,8 +534,11 @@ case "$XBPS_TARGET" in
;;
bootstrap-update)
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
chroot_handler remove-autodeps
chroot_handler ${XBPS_TARGET} dummy
else
pkgver=xbps-src
remove_pkg_autodeps
${FAKEROOT_CMD} ${XBPS_INSTALL_CMD} -yu
fi
;;