diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-30 10:23:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-30 10:23:10 +0000 |
commit | 93b04a501bf67a76ccdfc6ebd21c774060921ed5 (patch) | |
tree | 5fa911aa2c3ee8817cc842fce75ce2cc5424c192 /urpm.pm | |
parent | a4899cea678c7fe528cc12cc78829d28a3baedd4 (diff) | |
download | urpmi-93b04a501bf67a76ccdfc6ebd21c774060921ed5.tar urpmi-93b04a501bf67a76ccdfc6ebd21c774060921ed5.tar.gz urpmi-93b04a501bf67a76ccdfc6ebd21c774060921ed5.tar.bz2 urpmi-93b04a501bf67a76ccdfc6ebd21c774060921ed5.tar.xz urpmi-93b04a501bf67a76ccdfc6ebd21c774060921ed5.zip |
log opening db when --debug
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -87,6 +87,8 @@ sub file_from_local_url { sub db_open_or_die { my ($urpm, $root, $b_write_perm) = @_; + $urpm->{debug}("opening rpmdb (root=$root, write=$b_write_perm)"); + my $db = URPM::DB::open($root, $b_write_perm || 0) or $urpm->{fatal}(9, N("unable to open rpmdb")); |