diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-04 15:49:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-04 15:49:52 +0000 |
commit | 0fa594b28ca9a6893b9bf7fd9066912cb1a8028b (patch) | |
tree | 9c934d8fd57569caab3eb0858b7f5c4102e7b1f9 | |
parent | 7c509d0e73cfca5230d99d262a8989f263c5660c (diff) | |
download | mgaonline-0fa594b28ca9a6893b9bf7fd9066912cb1a8028b.tar mgaonline-0fa594b28ca9a6893b9bf7fd9066912cb1a8028b.tar.gz mgaonline-0fa594b28ca9a6893b9bf7fd9066912cb1a8028b.tar.bz2 mgaonline-0fa594b28ca9a6893b9bf7fd9066912cb1a8028b.tar.xz mgaonline-0fa594b28ca9a6893b9bf7fd9066912cb1a8028b.zip |
(is_there_a_new_distributions) add sanity check for cooker
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -261,6 +261,12 @@ sub is_there_a_new_distributions() { my $list = "http://api.mandriva.com/distributions/$type.$product_id->{arch}.list?product=$product_id->{product}"; log::explanations("trying distributions list from $list"); + # sanity check for cooker: + if ($product_id->{branch} eq 'Devel') { + log::explanations("devel distribution is not supported"); + return; + } + my @lines = eval { my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); urpm::download::get_content($urpm, $list); |