From 0d55d32ba057ad6644b57d1f8db788d423987e7b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 30 Oct 2015 15:33:57 +0100 Subject: [PATCH] xbps-src: force reconfiguration of ca-certificates only in the chroot. --- xbps-src | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xbps-src b/xbps-src index d5163632f6d..7a6b83b0947 100755 --- a/xbps-src +++ b/xbps-src @@ -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. #