xbps-src: force reconfiguration of ca-certificates only in the chroot.
This commit is contained in:
parent
64f6a3af72
commit
0d55d32ba0
1 changed files with 6 additions and 3 deletions
9
xbps-src
9
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.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue