summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index a276239d..02274a17 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -265,8 +265,10 @@ sub is_there_a_new_distributions() {
my $urpm = Rpmdrake::open_db::fast_open_urpmi_db();
if (member($product_id->{version}, qw(2007.1 2008.0 2008.1))) {
require mdkapplet_urpm;
+ mdkapplet_urpm::ensure_valid_cachedir($urpm);
mdkapplet_urpm::get_content($urpm, $list);
} else {
+ urpm::ensure_valid_cachedir($urpm);
urpm::download::get_content($urpm, $list);
}
};