summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/update-alternatives.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index fdb4214b65..ba812210a7 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -79,8 +79,8 @@ fi
def update_alternatives_after_parse(d):
if bb.data.getVar('ALTERNATIVE_LINKS', d) != None:
- doinstall = bb.data.getVar('do_install', d, 1)
- doinstall += bb.data.getVar('update_alternatives_batch_doinstall', d, 1)
+ doinstall = bb.data.getVar('do_install', d, 0)
+ doinstall += bb.data.getVar('update_alternatives_batch_doinstall', d, 0)
bb.data.setVar('do_install', doinstall, d)
return