diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | mdkapplet_urpm.pm | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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); |