aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 8731bfe2..400e3d8c 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -20,9 +20,13 @@
#
# $Id$
-$> and (exec {'consolehelper'} $0, @ARGV or die "consolehelper missing");
use strict;
+use lib qw(/usr/lib/libDrakX);
+use common;
+
+require_root_capability();
+
use rpmdrake;
$::isStandalone = 1;