diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-01-24 12:48:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-01-24 12:48:51 +0000 |
commit | d3f8e92b341f4a2ddc15405358071cc99dc6eb73 (patch) | |
tree | 8fa39868a9ca6a6b45dd74083f0af16703849c93 /perl-install/install_steps.pm | |
parent | 8f687e57efcee4ff7e4161855f0cded5a64739b0 (diff) | |
download | drakx-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar drakx-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar.gz drakx-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar.bz2 drakx-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar.xz drakx-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.zip |
minimal install now handles excludedocs
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index c6c668bbb..c6b80f4a7 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -294,6 +294,8 @@ sub beforeInstallPackages { require network; network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1"); + + substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros"; } sub pkg_install { |