aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-10 09:25:57 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-10 09:25:57 +0200
commit48b22dca97fa8a84912a60bc835645e8fbbe1952 (patch)
tree85c639e65f16569fe5bed86edb5793f83d9d5b11 /lib/AdminPanel/Rpmdragora
parent1cd05d978ae67c7efebab7ca33c35a7cc4e4e668 (diff)
downloadmanatools-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar
manatools-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar.gz
manatools-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar.bz2
manatools-48b22dca97fa8a84912a60bc835645e8fbbe1952.tar.xz
manatools-48b22dca97fa8a84912a60bc835645e8fbbe1952.zip
Changed to is_root_capability_required atm to avoid redeclarations
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-rw-r--r--lib/AdminPanel/Rpmdragora/init.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/init.pm b/lib/AdminPanel/Rpmdragora/init.pm
index 9349894b..00d07c42 100644
--- a/lib/AdminPanel/Rpmdragora/init.pm
+++ b/lib/AdminPanel/Rpmdragora/init.pm
@@ -149,7 +149,7 @@ if ($MODE eq 'remove') {
$default_list_mode = 'all_updates';
}
-$MODE eq 'update' || $rpmdragora_options{'run-as-root'} and AdminPanel::Privileges::require_root_capability();
+$MODE eq 'update' || $rpmdragora_options{'run-as-root'} and AdminPanel::Privileges::is_root_capability_required();
$::noborderWhenEmbedded = 1;
require AdminPanel::rpmdragora;