diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-05 07:32:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-05 07:32:36 +0000 |
commit | 46442e808fa0c04b30829496bd83177eab54bb41 (patch) | |
tree | 3f95937751be8f998ba7f6388e0d44473b134b44 /urpm.pm | |
parent | 321459d7ea213ccbe79b4f64e9e5bd1e46e64d11 (diff) | |
download | urpmi-46442e808fa0c04b30829496bd83177eab54bb41.tar urpmi-46442e808fa0c04b30829496bd83177eab54bb41.tar.gz urpmi-46442e808fa0c04b30829496bd83177eab54bb41.tar.bz2 urpmi-46442e808fa0c04b30829496bd83177eab54bb41.tar.xz urpmi-46442e808fa0c04b30829496bd83177eab54bb41.zip |
document some functions
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |