From 1dea3aa455e88e3fd99fe18b2cdac8707e9cf5a3 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 13 Sep 2002 10:15:00 +0000 Subject: fixed for newer perl 5.8.0 (vendor_perl directory). fixed to kill devfsd before. --- perl-install/live_install2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-install/live_install2 b/perl-install/live_install2 index 58c5e9e83..68ffa528b 100755 --- a/perl-install/live_install2 +++ b/perl-install/live_install2 @@ -4,6 +4,9 @@ my $dir = `pwd`; chomp $dir; $dir .= "/../../.."; +#- allow devfsd to enable a faster upgrade. +system "killall devfsd >/dev/null 2>/dev/null"; + #- perl version of the install, we use directly the version we found, #- this means there SHOULD BE no module compiled for an older version of perl #- which will be used by DrakX. @@ -18,7 +21,11 @@ $ENV{PERL5LIB} = join ":", map { "$dir/usr/lib/perl5/$_" } ("$version/$arch", "$version", "site_perl/$version/$arch", "site_perl/$version", - "site_perl"); + "site_perl", + "vendor_perl/$version/$arch", + "vendor_perl/$version", + "vendor_perl", + ); $ENV{LD_LIBRARY_PATH} = "$dir/usr/bin:$dir/bin:$dir/sbin:$dir/usr/sbin:$dir/usr/X11R6/bin:$dir/lib:$dir/usr/lib:$dir/usr/lib/perl5/$version/$arch/CORE"; $ENV{PATH} = join(":", map { "$dir/$_" } split ":", "/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin") . ":$ENV{PATH}"; $ENV{SHARE_PATH} = "$dir/usr/share"; -- cgit v1.2.1