Reread config file and set vars in the chroot to get correct paths!
--HG-- extra : convert_revision : dbc4e06cf93ef92d12090a53be4270d720c88f9f
This commit is contained in:
parent
758eff37a8
commit
ffbd0ad5ae
1 changed files with 9 additions and 0 deletions
9
xbps.sh
9
xbps.sh
|
@ -1162,6 +1162,15 @@ install_pkg()
|
|||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# If we are being invoked via install-chroot, reread config file
|
||||
# to get correct stuff.
|
||||
#
|
||||
if [ "$XBPS_MASTERDIR" = "/" ]; then
|
||||
check_config_vars
|
||||
set_defvars
|
||||
fi
|
||||
|
||||
reset_tmpl_vars
|
||||
run_file $cur_tmpl
|
||||
pkg="$curpkgn-$version"
|
||||
|
|
Loading…
Reference in a new issue