summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2004-10-11 03:19:20 +0000
committerFrederic Lepied <flepied@mandriva.com>2004-10-11 03:19:20 +0000
commit588d1dccb412efe891b1a8715d0ac4ed4d3a7cd5 (patch)
tree8ae3a41bf3b5606b29bf75425a30f51a1bcbb377
parent8d5a8f0761dbf8421d2d08db27f12b2bc1fcc2f2 (diff)
downloadmgaonline-588d1dccb412efe891b1a8715d0ac4ed4d3a7cd5.tar
mgaonline-588d1dccb412efe891b1a8715d0ac4ed4d3a7cd5.tar.gz
mgaonline-588d1dccb412efe891b1a8715d0ac4ed4d3a7cd5.tar.bz2
mgaonline-588d1dccb412efe891b1a8715d0ac4ed4d3a7cd5.tar.xz
mgaonline-588d1dccb412efe891b1a8715d0ac4ed4d3a7cd5.zip
create working dir
-rwxr-xr-xmdkonline_tui4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdkonline_tui b/mdkonline_tui
index 8695bc21..f9b00cb3 100755
--- a/mdkonline_tui
+++ b/mdkonline_tui
@@ -42,6 +42,10 @@ my $online_link = 'https://www.mandrakeonline.net';
my $confdir = '/root/.MdkOnline';
my $conffile = "$confdir/mdkupdate";
+#for compatibilities
+mkdir_p($confdir) if !-d $confdir;
+-e '/root/.mdkupdate' and system("mv", "/root/.mdkupdate", $conffile);
+
$::Wizard_title = N("Mandrakeonline");
my %choices = (