From 0f6da0cd354a7f7c01eec7c942546bc314a6519c Mon Sep 17 00:00:00 2001 From: udeved Date: Wed, 26 Oct 2016 12:49:26 +0200 Subject: [PATCH] util-yaml: set mhwdcfg local value to false if netinstall is true --- lib/util-yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-yaml.sh b/lib/util-yaml.sh index aff8606..728dda7 100644 --- a/lib/util-yaml.sh +++ b/lib/util-yaml.sh @@ -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"