xbps-src: only reconfigure ca-certificates if /etc/ssl/certs does not exist.
This commit is contained in:
parent
f57d363ca3
commit
7e92158bbd
2
xbps-src
2
xbps-src
|
@ -602,7 +602,7 @@ if [ -z "$IN_CHROOT" ]; then
|
||||||
fi
|
fi
|
||||||
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.
|
# XXX otherwise etc/ssl/certs is not generated.
|
||||||
if xbps-query ca-certificates &>/dev/null; then
|
if xbps-query ca-certificates &>/dev/null; then
|
||||||
xbps-reconfigure -f ca-certificates &>/dev/null
|
xbps-reconfigure -f ca-certificates &>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue
Block a user