summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-18 13:16:01 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-18 13:36:17 +0300
commit2313126fc721c9e42f429848bce54a11b5de6659 (patch)
tree14e1915ec40699e285cd19fe821c7a57463b29ff /bin
parentacee77966603ed968e68ed36337b90fa32c5062b (diff)
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-xbin/createpackage.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/createpackage.pl b/bin/createpackage.pl
index 0cc1a9c729..939c38e136 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");
}