diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install2.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 165d69b5a..ccfe1e526 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -561,12 +561,16 @@ sub main { } install_any::clean_postinstall_rpms(); install_any::log_sizes($o); - install_any::ejectCdrom(); install_any::remove_advertising($o); - install_any::write_fstab($o); modules::write_conf($o->{prefix}); + #- mainly for auto_install's + run_program::run("bash", "-c", $o->{postInstallNonRooted}) if $o->{postInstallNonRooted}; + run_program::rooted($o->{prefix}, "sh", "-c", $o->{postInstall}) if $o->{postInstall}; + + install_any::ejectCdrom(); + #- to ensure linuxconf doesn't cry against those files being in the future foreach ('/etc/modules.conf', '/etc/crontab', '/etc/sysconfig/mouse', '/etc/sysconfig/network', '/etc/X11/fs/config') { my $now = time - 24 * 60 * 60; @@ -579,10 +583,6 @@ sub main { -e "$o->{prefix}/usr/sbin/urpmi.update" or eval { rm_rf("$o->{prefix}/var/lib/urpmi") }; - #- mainly for auto_install's - run_program::run("bash", "-c", $o->{postInstallNonRooted}) if $o->{postInstallNonRooted}; - run_program::rooted($o->{prefix}, "sh", "-c", $o->{postInstall}) if $o->{postInstall}; - #- have the really bleeding edge ddebug.log eval { cp_af("/tmp/ddebug.log", "$o->{prefix}/root") }; |