summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-11-26 16:33:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-11-26 16:33:30 +0000
commitb9f4dfa941779fade78869728b9393cab1ede012 (patch)
tree99610b1bbf5fc459c5169d0e93b10c6076fb3ed2 /perl-install
parent18cf3a25f834a527f36537a83819cbf5e39f1539 (diff)
downloaddrakx-backup-do-not-use-b9f4dfa941779fade78869728b9393cab1ede012.tar
drakx-backup-do-not-use-b9f4dfa941779fade78869728b9393cab1ede012.tar.gz
drakx-backup-do-not-use-b9f4dfa941779fade78869728b9393cab1ede012.tar.bz2
drakx-backup-do-not-use-b9f4dfa941779fade78869728b9393cab1ede012.tar.xz
drakx-backup-do-not-use-b9f4dfa941779fade78869728b9393cab1ede012.zip
add $o->{excludedocs} feature
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm2
1 files changed, 2 insertions, 0 deletions
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;