From d3f8e92b341f4a2ddc15405358071cc99dc6eb73 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 24 Jan 2002 12:48:51 +0000 Subject: minimal install now handles excludedocs --- perl-install/install_steps.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/install_steps.pm') 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 { -- cgit v1.2.1