summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-04-28 18:25:21 +0000
committerColin Guthrie <colin@mageia.org>2013-04-28 18:25:21 +0000
commitf4416168ecb5744bc0683a5ed49b5ca02c4014d4 (patch)
tree86b4b715267c2725c9a92f12b3fc254ebb96e03c /mgaapplet
parent5573c393830262d43ce1be7496bbf364cba9e148 (diff)
downloadmgaonline-f4416168ecb5744bc0683a5ed49b5ca02c4014d4.tar
mgaonline-f4416168ecb5744bc0683a5ed49b5ca02c4014d4.tar.gz
mgaonline-f4416168ecb5744bc0683a5ed49b5ca02c4014d4.tar.bz2
mgaonline-f4416168ecb5744bc0683a5ed49b5ca02c4014d4.tar.xz
mgaonline-f4416168ecb5744bc0683a5ed49b5ca02c4014d4.zip
Fix function call. check_cache_dir was renamed to check_dir in r6191
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgaapplet b/mgaapplet
index e1df0fdd..81be6260 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -401,7 +401,7 @@ sub confirm_upgrade() {
$temp_dir = $_[0]->get_current_folder;
my $ok = 1;
require urpm;
- urpm::check_cache_dir({ fatal => sub { $ok = 0 } }, $temp_dir);
+ urpm::check_dir({ fatal => sub { $ok = 0 } }, $temp_dir);
$ok or ask_warn(N("Error"), N("You must choose a directory owned by the super administrator!"));
});
$browse->set_current_folder($download_dir);
@@ -436,7 +436,7 @@ sub confirm_upgrade() {
if ($res) {
require urpm;
my $ok = 1;
- urpm::check_cache_dir({ fatal => sub { $ok = 0 } }, $temp_dir);
+ urpm::check_dir({ fatal => sub { $ok = 0 } }, $temp_dir);
$ok or goto &confirm_upgrade;
$download_dir = $temp_dir;
really_confirm_upgrade();