From b9f4dfa941779fade78869728b9393cab1ede012 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 26 Nov 2001 16:33:30 +0000 Subject: add $o->{excludedocs} feature --- perl-install/install2.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 7c4a1faa9..304f4e75a 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -171,6 +171,8 @@ sub formatPartitions { home mnt tmp var var/tmp var/lib var/lib/rpm var/lib/urpmi); mkdir "$o->{prefix}/$_", 0700 foreach qw(root root/tmp); + substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros"; + any::rotate_logs($o->{prefix}); require raid; -- cgit v1.2.1