summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-03 12:08:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-03 12:08:35 +0000
commit337801868e55146ca66221654d6295d0e24b01a7 (patch)
tree9bf0de3ebd466995f98b59cae762b08a868e96d7 /perl-install/install2.pm
parentf9ee79ed64ed8ad891671e9920ef945f5bd5eca5 (diff)
downloaddrakx-backup-do-not-use-337801868e55146ca66221654d6295d0e24b01a7.tar
drakx-backup-do-not-use-337801868e55146ca66221654d6295d0e24b01a7.tar.gz
drakx-backup-do-not-use-337801868e55146ca66221654d6295d0e24b01a7.tar.bz2
drakx-backup-do-not-use-337801868e55146ca66221654d6295d0e24b01a7.tar.xz
drakx-backup-do-not-use-337801868e55146ca66221654d6295d0e24b01a7.zip
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 15566d0c7..c44728d1f 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -721,6 +721,9 @@ sub main {
last if $o->{step} eq 'exitInstall';
}
+ #- mainly for auto_install's
+ run_program::rooted($o->{prefix}, "sh", "-c", $o->{postInstall}) if $o->{postInstall};
+
install_any::clean_postinstall_rpms();
install_any::ejectCdrom();
@@ -740,7 +743,7 @@ sub main {
-e "$o->{prefix}/usr/bin/urpmi" or eval { commands::rm("-rf", "$o->{prefix}/var/lib/urpmi") };
#- have the really bleeding edge ddebug.log for this f*cking msec :-/
- eval { commands::cp('-f', "/tmp/ddebug.log", "$o->{prefix}/root") };
+ eval { commands::cp('-f', "/tmp/ddebug.log", "/tmp/exec.log", "$o->{prefix}/root") };
#- ala pixel? :-) [fpons]
sync(); sync();