xbps-src: force reconfiguration of ca-certificates only in the chroot.

This commit is contained in:
Juan RP 2015-10-30 15:33:57 +01:00
parent 64f6a3af72
commit 0d55d32ba0

View file

@ -310,9 +310,6 @@ bootstrap_update() {
rm -rf $XBPS_MASTERDIR/builddir $XBPS_MASTERDIR/destdir
msg_normal "xbps-src: updating $XBPS_MASTERDIR ...\n"
${XBPS_INSTALL_CMD} ${XBPS_INSTALL_ARGS} -Syu
if xbps-query -r $XBPS_MASTERDIR ca-certificates &>/dev/null; then
xbps-reconfigure -r $XBPS_MASTERDIR -f ca-certificates &>/dev/null
fi
return $?
}
@ -608,6 +605,12 @@ if [ -z "$IN_CHROOT" ]; then
fi
fi
if [ -n "$IN_CHROOT" ]; then
if xbps-query ca-certificates &>/dev/null; then
xbps-reconfigure -f ca-certificates &>/dev/null
fi
fi
#
# Main switch.
#