util-yaml: let local repo settings depends on netinstall

This commit is contained in:
udeved 2017-05-15 10:57:20 +02:00
parent f0cb781d71
commit faee115b2e

View file

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