xbps-src: fix reconfiguration of bootstrap pkgs.

This commit is contained in:
Juan RP 2019-07-04 07:56:17 +02:00 committed by Jürgen Buchmüller
parent 1fc6aea821
commit ba4c05aa00

View File

@ -311,8 +311,8 @@ reconfigure_bootstrap_pkgs() {
# Reconfigure ca-certificates.
msg_normal "Reconfiguring bootstrap packages...\n"
for f in ${pkgs}; do
if $XBPS_QUERY_CMD $f &>/dev/null; then
$XBPS_RECONFIGURE_CMD -f $f
if xbps-query -r $XBPS_MASTERDIR $f &>/dev/null; then
xbps-reconfigure -r $XBPS_MASTERDIR -f $f
fi
done
touch -f $statefile