summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-01-29 22:38:31 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-01-29 22:38:31 +0000
commita219b373c051fdc3e932634a31b15b4fa4e983ff (patch)
tree76037d6c553e543cf4db603576e3c9ca8e80c23e /perl-install/install2.pm
parentc6112f999b11dbf57a12cabd4bfa277fde6704e8 (diff)
downloaddrakx-backup-do-not-use-a219b373c051fdc3e932634a31b15b4fa4e983ff.tar
drakx-backup-do-not-use-a219b373c051fdc3e932634a31b15b4fa4e983ff.tar.gz
drakx-backup-do-not-use-a219b373c051fdc3e932634a31b15b4fa4e983ff.tar.bz2
drakx-backup-do-not-use-a219b373c051fdc3e932634a31b15b4fa4e983ff.tar.xz
drakx-backup-do-not-use-a219b373c051fdc3e932634a31b15b4fa4e983ff.zip
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
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm6
1 files changed, 3 insertions, 3 deletions
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();