From a219b373c051fdc3e932634a31b15b4fa4e983ff Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 29 Jan 2002 22:38:31 +0000 Subject: move /root/* files (ddebug.log, install.log, report.bug, auto_inst.cfg.pl, replay_install.img) to /root/drakx/, and also save stage1.log there --- perl-install/install2.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index f98da39e3..2893b4a46 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -183,7 +183,7 @@ sub formatPartitions { etc/sysconfig/network-scripts etc/sysconfig/console/consolefonts etc/sysconfig/console/consoletrans home mnt tmp var var/tmp var/lib var/lib/rpm var/lib/urpmi); - mkdir "$o->{prefix}/$_", 0700 foreach qw(root root/tmp); + mkdir "$o->{prefix}/$_", 0700 foreach qw(root root/tmp root/drakx); common::screenshot_dir__and_move(); @@ -626,8 +626,8 @@ sub main { -e "$o->{prefix}/usr/sbin/urpmi.update" or eval { rm_rf("$o->{prefix}/var/lib/urpmi") }; - #- have the really bleeding edge ddebug.log - eval { cp_af("/tmp/ddebug.log", "$o->{prefix}/root") }; + #- copy latest log files + eval { cp_af("/tmp/$_", "$o->{prefix}/root/drakx") foreach qw(ddebug.log stage1.log) }; #- ala pixel? :-) [fpons] common::sync(); common::sync(); -- cgit v1.2.1