From 8d3e07a6988c9d46122ee6548a1b153048ffeb20 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 18 Jul 2002 16:48:06 +0000 Subject: - set $::prefix - drop $o->{root} (was "/tmp/root-perl-install" when testing but completly unused) --- perl-install/install2.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 1659cd644..69afd5dff 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -433,11 +433,9 @@ sub main { log::openLog(($::testing || $o->{localInstall}) && 'debug.log'); log::l("second stage install running (", any::drakx_version(), ")"); - $o->{prefix} = $::testing ? "/tmp/test-perl-install" : $::live ? "" : "/mnt"; - $o->{root} = $::testing ? "/tmp/root-perl-install" : "/"; + $o->{prefix} = $::prefix = $::testing ? "/tmp/test-perl-install" : $::live ? "" : "/mnt"; $o->{isUpgrade} = 1 if $::live; mkdir $o->{prefix}, 0755; - mkdir $o->{root}, 0755; devices::make("/dev/zero"); #- needed by ddcxinfos #- make sure we don't pick up any gunk from the outside world -- cgit v1.2.1