diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install2.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 379e3408e..ce8954cc3 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -626,6 +626,10 @@ sub main { modules::write_conf($o->{prefix}); detect_devices::install_addons($o->{prefix}); + #- save recovery file if needed (ie disk style install). + $o->{method} eq 'disk' and + output($o->{prefix}.any::hdInstallPath()."/Mandrake/base/recovery.cfg", install_any::g_auto_install(1)); + #- mainly for auto_install's #- do not use run_program::xxx because it doesn't leave stdin/stdout unchanged system("bash", "-c", $o->{postInstallNonRooted}) if $o->{postInstallNonRooted}; |