util-yaml: set mhwdcfg local value to false if netinstall is true

This commit is contained in:
udeved 2016-10-26 12:49:26 +02:00
parent b5ce1cb6f3
commit 0f6da0cd35

View file

@ -211,7 +211,7 @@ write_mhwdcfg_conf(){
echo "driver: ${drv}" >> "$conf"
echo '' >> "$conf"
local switch='true'
${chrootcfg} && switch='false'
${netinstall} && switch='false'
echo "local: ${switch}" >> "$conf"
echo '' >> "$conf"
echo 'repo: /opt/pacman-mhwd.conf' >> "$conf"