xbps-src: only reconfigure ca-certificates if /etc/ssl/certs does not exist.

This commit is contained in:
Juan RP 2015-10-30 15:54:13 +01:00
parent f57d363ca3
commit 7e92158bbd
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ if [ -z "$IN_CHROOT" ]; then
fi
fi
if [ -n "$IN_CHROOT" ]; then
if [ -n "$IN_CHROOT" -a ! -d /etc/ssl/certs ]; then
# XXX otherwise etc/ssl/certs is not generated.
if xbps-query ca-certificates &>/dev/null; then
xbps-reconfigure -f ca-certificates &>/dev/null