summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-16 20:41:41 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-16 20:41:41 +0000
commit97783f172543c3b0f6c899195bb3c74fd5182b72 (patch)
treefb09818482186e9113bd09d1b25b3caaf81ed040 /mdkupdate
parentbb5eb728cc5401cd2c552f05830426bbabb29e63 (diff)
downloadmgaonline-97783f172543c3b0f6c899195bb3c74fd5182b72.tar
mgaonline-97783f172543c3b0f6c899195bb3c74fd5182b72.tar.gz
mgaonline-97783f172543c3b0f6c899195bb3c74fd5182b72.tar.bz2
mgaonline-97783f172543c3b0f6c899195bb3c74fd5182b72.tar.xz
mgaonline-97783f172543c3b0f6c899195bb3c74fd5182b72.zip
- do not clobber files
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 541aa133..15a954d5 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -31,7 +31,7 @@ use lib qw(/usr/lib/libDrakX);
use common;
BEGIN { unshift @::textdomains, 'mdkupdate' }
-my $in = 'interactive'->vnew('su', 'default');
+require_root_capability();
my $logfile = "/var/log/mdkupdate.log";
my $conffile = "/root/.mdkupdate";