summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-09 02:53:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-09 02:53:05 +0000
commit4ab188852c99e238817facb0bc2fd38acc28241f (patch)
tree9e363ada7d2184a39b191ca4d19343c1a2f5550c
parent4d172794e8da43b109b0fe5b27af48bdf38870e7 (diff)
downloaddrakx-4ab188852c99e238817facb0bc2fd38acc28241f.tar
drakx-4ab188852c99e238817facb0bc2fd38acc28241f.tar.gz
drakx-4ab188852c99e238817facb0bc2fd38acc28241f.tar.bz2
drakx-4ab188852c99e238817facb0bc2fd38acc28241f.tar.xz
drakx-4ab188852c99e238817facb0bc2fd38acc28241f.zip
don't check_prog when the prog is a complex command (containing a pipe)
-rw-r--r--perl-install/run_program.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index a3ac04354..a560d8c34 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -54,7 +54,7 @@ sub raw {
$root ? ($root .= '/') : ($root = '');
if (!$root && !$::isStandalone) {
require install_any;
- install_any::check_prog($real_name);
+ install_any::check_prog($real_name) if $real_name !~ /\|/;
}
$ENV{HOME} || $::isInstall or $ENV{HOME} = '/root';