Reread config file and set vars in the chroot to get correct paths!

--HG--
extra : convert_revision : dbc4e06cf93ef92d12090a53be4270d720c88f9f
This commit is contained in:
Juan RP 2008-10-24 10:09:42 +02:00
parent 758eff37a8
commit ffbd0ad5ae

View file

@ -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"