summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--mdkapplet_urpm.pm2
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 92fb510e..77f62a1b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+- mdkapplet
+ o workarounding downloading distro list as user for 2008.1 where
+ sometimes urpmi reports it failed to download the list when it
+ actually did with success
+
Version 2.44 - 30 September 2008
- mdkapplet
diff --git a/mdkapplet_urpm.pm b/mdkapplet_urpm.pm
index 980854af..203a968e 100644
--- a/mdkapplet_urpm.pm
+++ b/mdkapplet_urpm.pm
@@ -43,7 +43,7 @@ sub get_content {
my $file = $download_dir . basename($url);
unlink $file; # prevent "partial file" errors
- urpm::download::sync($urpm, undef, [ $url ], quiet => 1, dir => $download_dir) or return;
+ eval { urpm::download::sync($urpm, undef, [ $url ], quiet => 1, dir => $download_dir) };
#sync_url($urpm, $url, dir => $download_dir, quiet => 1) or return;
my @l = cat_($file);