summaryrefslogtreecommitdiff
path: root/examples/p5solv
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-02-24 11:50:05 +0100
committerMichael Schroeder <mls@suse.de>2012-02-24 11:50:05 +0100
commit296dde1ce1c77508152de9622a82ad9198886142 (patch)
tree835a039863e2a68599d4ed105f13475f3f5e665b /examples/p5solv
parent530db1f4afc1fec55fa8b3c498c6b99d1df2a537 (diff)
downloadlibsolv-296dde1ce1c77508152de9622a82ad9198886142.tar.gz
libsolv-296dde1ce1c77508152de9622a82ad9198886142.tar.bz2
libsolv-296dde1ce1c77508152de9622a82ad9198886142.zip
- rename SOLVER_FLAG_IGNORE_ALREADY_RECOMMENDED to SOLVER_FLAG_ADD_ALREADY_RECOMMENDED and invert.
Our policy is that the default should be zero and cover the most uses. Last chance to do the change. (sorry libzypp and hawkeye folks.)
Diffstat (limited to 'examples/p5solv')
-rwxr-xr-xexamples/p5solv1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/p5solv b/examples/p5solv
index f864997..015002e 100755
--- a/examples/p5solv
+++ b/examples/p5solv
@@ -754,7 +754,6 @@ if ($cmd eq 'install' || $cmd eq 'erase' || $cmd eq 'up' || $cmd eq 'dup' || $cm
my $solver;
while (1) {
$solver = $pool->Solver();
- $solver->set_flag($solv::Solver::SOLVER_FLAG_IGNORE_ALREADY_RECOMMENDED, 1);
$solver->set_flag($solv::Solver::SOLVER_FLAG_SPLITPROVIDES, 1);
$solver->set_flag($solv::Solver::SOLVER_FLAG_ALLOW_UNINSTALL, 1) if $cmd eq 'erase';
my @problems = $solver->solve(\@jobs);