summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-03-24 11:50:36 +0000
committerDaouda Lo <daouda@mandriva.com>2005-03-24 11:50:36 +0000
commit8ff22cb85f3744463e99b0493f963b4733434a35 (patch)
tree8a1b59cf4f32e3a458f5ee960821f0fae0a92aad
parent9f8febd6dee2050c4c6f27180eefcda83cac0017 (diff)
downloadmgaonline-8ff22cb85f3744463e99b0493f963b4733434a35.tar
mgaonline-8ff22cb85f3744463e99b0493f963b4733434a35.tar.gz
mgaonline-8ff22cb85f3744463e99b0493f963b4733434a35.tar.bz2
mgaonline-8ff22cb85f3744463e99b0493f963b4733434a35.tar.xz
mgaonline-8ff22cb85f3744463e99b0493f963b4733434a35.zip
sync
-rwxr-xr-xmdkapplet1
-rwxr-xr-xmdkonline4
2 files changed, 2 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 7c45060d..74e0ea19 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -349,7 +349,6 @@ sub isNetwork {
if ($r <= 10.0) {
$network = gethostbyname("mandrakeonline.net") ? 1 : 0;
} else {
- print "requiring net_connect";
require network::netconnect;
require network::tools;
network::netconnect::read_net_conf($netcnx, $netc, $intf);
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 = (