summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 12:54:10 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 12:54:10 +0000
commit5cda058a27dab4b7bda4f0b2fce18d07517e82b2 (patch)
tree2724f45e316d50aaa5c64f4ed6d330380f41d566
parent220d1f48b78ac017ca7be7f40ca0b221d254784b (diff)
downloadurpmi-5cda058a27dab4b7bda4f0b2fce18d07517e82b2.tar
urpmi-5cda058a27dab4b7bda4f0b2fce18d07517e82b2.tar.gz
urpmi-5cda058a27dab4b7bda4f0b2fce18d07517e82b2.tar.bz2
urpmi-5cda058a27dab4b7bda4f0b2fce18d07517e82b2.tar.xz
urpmi-5cda058a27dab4b7bda4f0b2fce18d07517e82b2.zip
No need to open the rpmdb to load macros
-rw-r--r--urpmi.recover2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.recover b/urpmi.recover
index 52ccaab3..8d75c1f7 100644
--- a/urpmi.recover
+++ b/urpmi.recover
@@ -109,7 +109,7 @@ $< == 0 or die N("You must be superuser to do this");
if ($do_checkpoint) {
- my $db = URPM::DB::open(); #- to load macros
+ URPM::read_config_files();
my $repackage_dir = URPM::expand("%_repackage_dir");
if (!$repackage_dir || $repackage_dir eq '/') {
die N("Repackage directory not defined\n");