From: James A Simmons Date: Thu, 2 Sep 2010 06:28:48 +0000 (+0300) Subject: install.pl: Use 'rpm --nodeps' when '--without-depcheck' passed X-Git-Tag: vofed-1.5.2-rc6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5c4eadb515f393a812a56d86595315fff1edfc34;p=~vlad%2Fofed_scripts.git install.pl: Use 'rpm --nodeps' when '--without-depcheck' passed Signed-off-by: James A Simmons Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 8fe7eb4..526d579 100755 --- a/install.pl +++ b/install.pl @@ -1536,6 +1536,9 @@ $kernel_rel =~ s/-/_/g; if ($distro eq "debian") { $check_linux_deps = 0; +} + +if (not $check_linux_deps) { $rpmbuild_flags .= ' --nodeps'; $rpminstall_flags .= ' --nodeps'; }