summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-14 11:29:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-14 11:29:37 +0000
commit79b4dbe29da7619f21e8124b562c06b5628b94e1 (patch)
tree223c3db6850e9889ba0a7374f3673952f8ecb632 /urpm/install.pm
parentedabe9d4501ff5c70b18f85e15c4cd6fc0689cac (diff)
downloadurpmi-79b4dbe29da7619f21e8124b562c06b5628b94e1.tar
urpmi-79b4dbe29da7619f21e8124b562c06b5628b94e1.tar.gz
urpmi-79b4dbe29da7619f21e8124b562c06b5628b94e1.tar.bz2
urpmi-79b4dbe29da7619f21e8124b562c06b5628b94e1.tar.xz
urpmi-79b4dbe29da7619f21e8124b562c06b5628b94e1.zip
add undocumented & unstable --tune-rpm option
(allow to test nofsync and private db)
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 1251c8e0..683047ce 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -254,8 +254,8 @@ sub install {
}
unlink @produced_deltas;
- if ($urpm->{root} && !$options{test}) {
- $urpm->{debug} and $urpm->{debug}("workaround bug in rpmlib by removing /var/lib/rpm/__db*");
+ if ($urpm->{root} && !$options{test} || $urpm->{tune_rpm}{private}) {
+ $urpm->{root} && $urpm->{debug} and $urpm->{debug}("workaround bug in rpmlib by removing /var/lib/rpm/__db*");
urpm::sys::clean_rpmdb_shared_regions($urpm->{root});
}