From b4f3dca39879d6cece654e2623462634e82fe1aa Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 21 Feb 2001 18:15:38 +0000 Subject: (main): do postInstallNonRooted before postInstall (so that 'modprobe vfat' can be done in postInstallNonRooted and used in postInstall) --- perl-install/install2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 9e36510fb..13a8c96f1 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -611,9 +611,9 @@ sub main { -e "$o->{prefix}/usr/bin/urpmi" or eval { commands::rm("-rf", "$o->{prefix}/var/lib/urpmi") }; #- mainly for auto_install's - run_program::rooted($o->{prefix}, "sh", "-c", $o->{postInstall}) if $o->{postInstall}; do { local $ENV{PATH} = $remote_path; 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 eval { commands::cp('-f', "/tmp/ddebug.log", "$o->{prefix}/root") }; -- cgit v1.2.1