xbps-src: document ca-certificates stupid kludge.

This commit is contained in:
Juan RP 2015-10-30 15:36:43 +01:00
parent 0d55d32ba0
commit c7611a9292

View File

@ -294,9 +294,6 @@ install_bbootstrap() {
else
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-files &>/dev/null
fi
if xbps-query -r $XBPS_MASTERDIR ca-certificates &>/dev/null; then
xbps-reconfigure -r $XBPS_MASTERDIR -f ca-certificates &>/dev/null
fi
msg_normal "Installed bootstrap successfully!\n"
chroot_prepare $XBPS_TARGET_PKG || msg_error "Failed to initialize chroot!\n"
}
@ -606,6 +603,7 @@ if [ -z "$IN_CHROOT" ]; then
fi
if [ -n "$IN_CHROOT" ]; then
# XXX otherwise etc/ssl/certs is not generated.
if xbps-query ca-certificates &>/dev/null; then
xbps-reconfigure -f ca-certificates &>/dev/null
fi