summaryrefslogtreecommitdiffstats
path: root/bin/createpackage.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/createpackage.pl')
-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");
}