summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-11-20 14:54:38 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-20 14:59:30 +0100
commit4f995b395ea347469ca9c7681d2f01f63e966d96 (patch)
treee790b618e8fba1cd7f3016c050e3a69f563f1f44 /solenv
parent5668e73beb30b95abc6520b7432c54972ca3ab2c (diff)
fdo#67060 do not package RPM-only install script to DEB packs
This reverts commit 5003ab57eee903d072fc7fac8cb5c69a34fb9d5c. It did not work, when both RPM and DEB were selected as targets. Change-Id: I90c74f0d00804b80daeca2c69d1f12e094243a81
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/download.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm
index 1db93452b3f1..b678bbf46ece 100644
--- a/solenv/bin/modules/installer/download.pm
+++ b/solenv/bin/modules/installer/download.pm
@@ -542,6 +542,12 @@ sub create_tar_gz_file_from_directory
$installer::globals::downloadfilename = $downloadfilename . $installer::globals::downloadfileextension;
my $targzname = $downloaddir . $installer::globals::separator . $installer::globals::downloadfilename;
+ # fdo#67060 - install script is for RPM only
+ if ( -e "$installdir/install" && !$installer::globals::isrpmbuild )
+ {
+ unlink("$installdir/install");
+ }
+
my $systemcall = "cd $changedir; $ldpreloadstring tar -cf - $packdir | gzip > $targzname";
my $returnvalue = system($systemcall);