summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-22 14:21:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-22 14:21:39 +0000
commit6ef9708ef633c12d9702e8b31e579e1cf5dd02b1 (patch)
tree29992dcfddf0a7f5b744a5531e66dce87ed46488 /perl-install
parent53678cd608bbb325166f0af1affdbf0288b6d8e9 (diff)
downloaddrakx-6ef9708ef633c12d9702e8b31e579e1cf5dd02b1.tar
drakx-6ef9708ef633c12d9702e8b31e579e1cf5dd02b1.tar.gz
drakx-6ef9708ef633c12d9702e8b31e579e1cf5dd02b1.tar.bz2
drakx-6ef9708ef633c12d9702e8b31e579e1cf5dd02b1.tar.xz
drakx-6ef9708ef633c12d9702e8b31e579e1cf5dd02b1.zip
(main): don't set a special $remote_path PATH for postInstallNonRooted
(otherwise install's modprobe is not used, and you can't "modprobe vfat", even if "/usr/bin/modprobe vfat" doesn't work because insmod_ is not found.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 13a8c96f1..741ff15b8 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -611,8 +611,7 @@ sub main {
-e "$o->{prefix}/usr/bin/urpmi" or eval { commands::rm("-rf", "$o->{prefix}/var/lib/urpmi") };
#- mainly for auto_install's
- do { local $ENV{PATH} = $remote_path;
- run_program::run("bash", "-c", $o->{postInstallNonRooted}) } if $o->{postInstallNonRooted};
+ run_program::run("bash", "-c", $o->{postInstallNonRooted}) if $o->{postInstallNonRooted};
run_program::rooted($o->{prefix}, "sh", "-c", $o->{postInstall}) if $o->{postInstall};
#- have the really bleeding edge ddebug.log