summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-24 12:48:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-24 12:48:51 +0000
commitd3f8e92b341f4a2ddc15405358071cc99dc6eb73 (patch)
tree8fa39868a9ca6a6b45dd74083f0af16703849c93 /perl-install/install_steps.pm
parent8f687e57efcee4ff7e4161855f0cded5a64739b0 (diff)
downloaddrakx-backup-do-not-use-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar
drakx-backup-do-not-use-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar.gz
drakx-backup-do-not-use-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar.bz2
drakx-backup-do-not-use-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.tar.xz
drakx-backup-do-not-use-d3f8e92b341f4a2ddc15405358071cc99dc6eb73.zip
minimal install now handles excludedocs
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
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 {