summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-24 13:07:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-24 13:07:11 +0000
commit9664677dd64e5e7efcda518935cd2b68bc0fee97 (patch)
treec755113e878356c0ca0e527733be4fce508ed4ea
parent04a060ad1793bf80c7bfbaaf784d8d3b669ad83a (diff)
downloaddrakx-backup-do-not-use-9664677dd64e5e7efcda518935cd2b68bc0fee97.tar
drakx-backup-do-not-use-9664677dd64e5e7efcda518935cd2b68bc0fee97.tar.gz
drakx-backup-do-not-use-9664677dd64e5e7efcda518935cd2b68bc0fee97.tar.bz2
drakx-backup-do-not-use-9664677dd64e5e7efcda518935cd2b68bc0fee97.tar.xz
drakx-backup-do-not-use-9664677dd64e5e7efcda518935cd2b68bc0fee97.zip
log excludedocs
-rw-r--r--perl-install/install_steps.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index c6b80f4a7..a344d852d 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -295,6 +295,7 @@ sub beforeInstallPackages {
require network;
network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1");
+ log::l("setting excludedocs to $o->{excludedocs}");
substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros";
}