summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-1be510f9529cb082f802408b472a77d074b394c0.tar
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz
archives-1be510f9529cb082f802408b472a77d074b394c0.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj')
-rw-r--r--zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj21
1 files changed, 21 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj b/zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj
new file mode 100644
index 000000000..fedcc13d7
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0002.obj
@@ -0,0 +1,21 @@
+(get_release_media,get_active_release_media) enable to list enabled */release media
+
+--- /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/open_db.pm.tv8 2011-09-15 13:21:31.996304467 +0000
++++ /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/open_db.pm 2011-09-15 13:24:12.932431234 +0000
+@@ -136,6 +140,16 @@
+ map { $_->{name} } grep { $_->{ignore} } get_backport_media($urpm);
+ }
+
++sub get_release_media {
++ my ($urpm) = @_;
++ grep { $_->{name} =~ /release/i } grep_regular_media($urpm);
++}
++
++sub get_active_release_media {
++ my ($urpm) = @_;
++ map { $_->{name} } grep { !$_->{ignore} } get_backport_media($urpm);
++}
++
+ sub get_update_medias {
+ my ($urpm) = @_;
+ if (is_it_a_devel_distro()) { \ No newline at end of file