Module: check_mk
Branch: master
Commit: f7e0dda40d0e5574ce888543ae4013018671a579
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f7e0dda40d0e55…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Oct 15 17:02:52 2014 +0200
fixed baked container update
---
agents/windows/msibuild/msi-update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/windows/msibuild/msi-update b/agents/windows/msibuild/msi-update
index 811b73a..09b16fe 100755
--- a/agents/windows/msibuild/msi-update
+++ b/agents/windows/msibuild/msi-update
@@ -169,7 +169,7 @@ default_package_codes = {
"vanilla_container.msi": { "dftl_start":
"{08012468-53DE-4", "dftl_end": "2A3-BAA9-FE4C2A129135}"},
"baked_container.msi" : { "dftl_start":
"{47ED1918-CEDF-4", "dftl_end": "D37-943C-B4DBC3F58E6C}"}
}
-summary_info.update(default_package_codes[msi_file])
+summary_info.update(default_package_codes[os.path.basename(msi_file)])
os.system("sed -i -e 's/%(dftl_start)s/%(start)s/' -e
's/%(dftl_end)s/%(end)s/' %(new_msi_file)s" % summary_info)
# Remove original product.cab from stream