From 8700eaa1c1043bc85a2bc028382fa6ce0b8c55ee Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 4 Mar 2009 10:07:56 +0000 Subject: (install) explicitely close the RPM DB on comleting transaction (needed for drakx -- looks like refcount has hard work): --- urpm/install.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'urpm') 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; } -- cgit v1.2.1