summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-03-11 10:36:16 +0000
committerDaouda Lo <daouda@mandriva.com>2005-03-11 10:36:16 +0000
commit250dca2a1dc25f10cd96c7bca3ea30db956becab (patch)
treeeb350f05ce6b533ba005b71c2a1c5f747e43c237
parent43177b1154e11abedc4417d2ab6d69a213cbbd1a (diff)
downloadmgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar
mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar.gz
mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar.bz2
mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar.xz
mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.zip
- get root before testing anything
-rwxr-xr-xmdkonline4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkonline b/mdkonline
index 639a31ce..be7f6da3 100755
--- a/mdkonline
+++ b/mdkonline
@@ -49,12 +49,12 @@ $ia = 1;
GetOptions('interactive!' => \$ia, 'login=s' => \$login, 'pass=s' => \$password, 'box=s' => \$boxname, 'country:s' => \$country);
+my $in = interactive->vnew('su') if $ia;
+
#for compatibilities
mkdir_p($confdir) if !-d $confdir;
-e '/root/.mdkupdate' and system("mv", "/root/.mdkupdate", $conffile);
-my $in = interactive->vnew('su') if $ia;
-
$::Wizard_title = N("Mandrakeonline");
my %choices = (