summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-04 10:07:56 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-04 10:07:56 +0000
commit8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee (patch)
treecce027821de2e8511225bc7e5a90248cf1aac4d8 /urpm/install.pm
parentd084a9cb99aa60d35c0b0a857ac8041c1717c4aa (diff)
downloadurpmi-8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee.tar
urpmi-8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee.tar.gz
urpmi-8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee.tar.bz2
urpmi-8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee.tar.xz
urpmi-8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee.zip
(install) explicitely close the RPM DB on comleting transaction
(needed for drakx -- looks like refcount has hard work):
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 7598d6fe..035fb924 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -285,6 +285,9 @@ sub install {
urpm::sys::may_clean_rpmdb_shared_regions($urpm, $options{test});
+ # explicitely close the RPM DB (needed for drakx -- looks like refcount has hard work):
+ undef $db;
+
@errors;
}