aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-20 12:18:15 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-20 12:18:15 +0200
commit0c456acdb0b02de368ad0e0f1832928e67c06bab (patch)
tree9b3c4869dbde42ad8bceb5664316bae664edb23f
parent82bfd609c8906f25c7c61e0ce8f08fd294e9a383 (diff)
downloadmanatools-0c456acdb0b02de368ad0e0f1832928e67c06bab.tar
manatools-0c456acdb0b02de368ad0e0f1832928e67c06bab.tar.gz
manatools-0c456acdb0b02de368ad0e0f1832928e67c06bab.tar.bz2
manatools-0c456acdb0b02de368ad0e0f1832928e67c06bab.tar.xz
manatools-0c456acdb0b02de368ad0e0f1832928e67c06bab.zip
fixed AdminPanel dependency
-rw-r--r--lib/AdminPanel/Rpmdragora/gui.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm
index 4b00bde2..0dafb18a 100644
--- a/lib/AdminPanel/Rpmdragora/gui.pm
+++ b/lib/AdminPanel/Rpmdragora/gui.pm
@@ -708,7 +708,7 @@ sub fast_toggle {
interactive_msg(N("Warning"), N("The \"%s\" package is in urpmi skip list.\nDo you want to select it anyway?", $name), yesno => 1) or return '';
$urpm_obj->set_flag_skip(0);
}
- if ($Rpmdragora::pkg::need_restart && !$priority_up_alread_warned) {
+ if ($AdminPanel::Rpmdragora::pkg::need_restart && !$priority_up_alread_warned) {
$priority_up_alread_warned = 1;
interactive_msg(N("Warning"), '<b>' . N("Rpmdragora or one of its priority dependencies needs to be updated first. Rpmdragora will then restart.") . '</b>' . "\n\n");
}
@@ -809,7 +809,7 @@ sub ask_browse_tree_given_widgets_for_rpmdragora {
$urpm_obj->set_flag_skip(0);
}
- if ($Rpmdragora::pkg::need_restart && !$priority_up_alread_warned) {
+ if ($AdminPanel::Rpmdragora::pkg::need_restart && !$priority_up_alread_warned) {
$priority_up_alread_warned = 1;
interactive_msg(N("Warning"), '<b>' . N("Rpmdragora or one of its priority dependencies needs to be updated first. Rpmdragora will then restart.") . '</b>' . "\n\n");
}
@@ -883,7 +883,7 @@ sub pkgs_provider {
},
all_updates => sub {
# potential "updates" from media not tagged as updates:
- if (!$options{pure_updates} && !$Rpmdragora::pkg::need_restart) {
+ if (!$options{pure_updates} && !$AdminPanel::Rpmdragora::pkg::need_restart) {
[ @{$h->{updates}},
difference2([ grep { is_updatable($_) } @{$h->{installable}} ], $h->{backports}) ];
} else {
@@ -1143,7 +1143,7 @@ sub do_action__real {
$urpm->{fatal}(1, N("Error: %s appears to be mounted read-only.", $urpm::sys::mountpoint));
return 1;
}
- if (!$Rpmdragora::pkg::need_restart && !is_there_selected_packages()) {
+ if (!$AdminPanel::Rpmdragora::pkg::need_restart && !is_there_selected_packages()) {
interactive_msg(N("You need to select some packages first."), N("You need to select some packages first."));
return 1;
}
@@ -1161,7 +1161,7 @@ Do you really want to install all the selected packages?"), yesno => 1)
my $res = $callback_action->($urpm, $pkgs);
if (!$res) {
$force_rebuild = 1;
- pkgs_provider($options->{tree_mode}, if_($Rpmdragora::pkg::probe_only_for_updates, pure_updates => 1), skip_updating_mu => 1);
+ pkgs_provider($options->{tree_mode}, if_($AdminPanel::Rpmdragora::pkg::probe_only_for_updates, pure_updates => 1), skip_updating_mu => 1);
reset_search();
$size_selected = 0;
(undef, $size_free) = MDK::Common::System::df('/usr');