diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-05-18 10:16:01 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-05-18 10:36:17 (GMT) |
commit | 2313126fc721c9e42f429848bce54a11b5de6659 (patch) | |
tree | 14e1915ec40699e285cd19fe821c7a57463b29ff /bin | |
parent | acee77966603ed968e68ed36337b90fa32c5062b (diff) | |
download | Qt-2313126fc721c9e42f429848bce54a11b5de6659.zip Qt-2313126fc721c9e42f429848bce54a11b5de6659.tar.gz Qt-2313126fc721c9e42f429848bce54a11b5de6659.tar.bz2 |
Do not autopatch <app>_installer.pkg when self-signing
<app>_installer.pkg produces self-signable packages by default, so
no need to patch it.
Task-number: QTBUG-10746
Reviewed-by: Janne Koskinen
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/createpackage.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/createpackage.pl b/bin/createpackage.pl index 0cc1a9c..939c38e 100755 --- a/bin/createpackage.pl +++ b/bin/createpackage.pl @@ -292,7 +292,7 @@ if($stub) { # Create stub SIS. system ("makesis -s $pkgoutput $stub_sis_name"); } else { - if ($certtext eq "Self Signed" && !@certificates) { + if ($certtext eq "Self Signed" && !@certificates && $templatepkg !~ m/_installer\.pkg$/i) { print("Auto-patching capabilities for self signed package.\n"); system ("patch_capabilities $pkgoutput"); } |