summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-18 10:16:01 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-18 10:36:17 (GMT)
commit2313126fc721c9e42f429848bce54a11b5de6659 (patch)
tree14e1915ec40699e285cd19fe821c7a57463b29ff /bin
parentacee77966603ed968e68ed36337b90fa32c5062b (diff)
downloadQt-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-xbin/createpackage.pl2
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");
}