diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-03-11 10:36:16 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-03-11 10:36:16 +0000 |
commit | 250dca2a1dc25f10cd96c7bca3ea30db956becab (patch) | |
tree | eb350f05ce6b533ba005b71c2a1c5f747e43c237 | |
parent | 43177b1154e11abedc4417d2ab6d69a213cbbd1a (diff) | |
download | mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar.gz mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar.bz2 mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.tar.xz mgaonline-250dca2a1dc25f10cd96c7bca3ea30db956becab.zip |
- get root before testing anything
-rwxr-xr-x | mdkonline | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = ( |