installer.py: fix call to install() that had incorrect parameters. Addresses #645

This commit is contained in:
Greg Neagle
2016-08-04 10:40:09 -07:00
parent 40309f5706
commit 97957434d5

4
code/client/munkilib/installer.py Normal file → Executable file
View File

@@ -764,8 +764,8 @@ def installWithInfo(
elif (munkicommon.hasValidPackageExt(itempath) or
itempath.endswith(".dist")):
(retcode, needtorestart) = install(
itempath, choicesXMLfile, suppressBundleRelocation,
installer_environment)
itempath, display_name, choicesXMLfile,
suppressBundleRelocation, installer_environment)
if (needtorestart or
item.get("RestartAction") == "RequireRestart" or
item.get("RestartAction") == "RecommendRestart"):