summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-25 02:21:17 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-25 02:21:17 +0000
commit7a08dbc23f114bf6b6eae275e21e63b6667a1b37 (patch)
treec99d2cf8a7c5e28215d574b7164de0a387004016 /perl-install/standalone
parent949ab0f0941e3266d8ab79380399dfe6a0020aea (diff)
downloaddrakx-backup-do-not-use-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar
drakx-backup-do-not-use-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar.gz
drakx-backup-do-not-use-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar.bz2
drakx-backup-do-not-use-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar.xz
drakx-backup-do-not-use-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.zip
no_comment
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/diskdrake9
1 files changed, 7 insertions, 2 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index a3ffafe83..1a9bba3c3 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -22,7 +22,7 @@
# DiskDrake is also based upon the libfdisk and the install from Red Hat Software
-use lib qw(/usr/lib/libDrakX .);
+use lib qw(/usr/lib/libDrakX);
use common qw(:common :functional);
use diskdrake;
use interactive_gtk;
@@ -31,8 +31,13 @@ use fsedit;
use fs;
use log;
+local $_ = join '', @ARGV;
+
+/-h/ and die "usage: XFdrake [--expert] [--testing]\n";
+
+$::expert = /--expert/;
+$::testing = /--testing/;
$::isStandalone = 1;
-#$::expert = 1;
if ($>) {
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";