summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--urpm.pm6
2 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 00c58287..15f1355a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- library:
+ o enhanced doc
+
Version 7.8.3 - 04 October 2012, by Thierry Vignaud
- fix urpmq --whatrequires regression introduced in 7.8.2 (#7706)
diff --git a/urpm.pm b/urpm.pm
index 009df2e5..c525c62a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -330,6 +330,12 @@ sub is_cdrom_url {
protocol_from_url($url) eq 'cdrom';
}
+=item db_open_or_die($urpm, $b_write_perm)
+
+Open RPM database (RW or not) and die if it fails
+
+=cut
+
sub db_open_or_die_ {
my ($urpm, $b_write_perm) = @_;
my $db;