ref: refs/heads/master
commit 3a4c1ba22a239d92a22d24ba15c773ff8ddd731d
Author: Michael Andres
Date: Fri Jul 3 13:00:42 2009 +0200
Fix parsing of rpm.install.excludedocs option (bnc #518883)
---
zypp/ZConfig.cc | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/zypp/ZConfig.cc b/zypp/ZConfig.cc
index 3b83db4..8002447 100644
--- a/zypp/ZConfig.cc
+++ b/zypp/ZConfig.cc
@@ -364,7 +364,8 @@ namespace zypp
}
else if ( entry == "rpm.install.excludedocs" )
{
- rpmInstallFlags.setFlag( target::rpm::RPMINST_EXCLUDEDOCS );
+ rpmInstallFlags.setFlag( target::rpm::RPMINST_EXCLUDEDOCS,
+ str::strToBool( value, false ) );
}
else if ( entry == "history.logfile" )
{
@@ -385,7 +386,7 @@ namespace zypp
else
{
MIL << _parsedZyppConf << " not found, using defaults instead." << endl;
- _parsedZyppConf.extend( " (NOT FOUND)" );
+ _parsedZyppConf = _parsedZyppConf.extend( " (NOT FOUND)" );
}
// legacy:
@@ -481,7 +482,7 @@ namespace zypp
ZConfig::ZConfig()
: _pimpl( new Impl )
{
- about( MIL);
+ about( MIL );
}
///////////////////////////////////////////////////////////////////
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org