summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-01 10:13:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-01 10:13:49 +0000
commitb4de162ca2747d54f991932f06da4603f49eb141 (patch)
treee7e91debdcd9d5f11065b90112104f6750954cd7 /perl-install/standalone
parent9f5d4498f6a3f5fb9bf0f4232c64da5161fbe646 (diff)
downloaddrakx-b4de162ca2747d54f991932f06da4603f49eb141.tar
drakx-b4de162ca2747d54f991932f06da4603f49eb141.tar.gz
drakx-b4de162ca2747d54f991932f06da4603f49eb141.tar.bz2
drakx-b4de162ca2747d54f991932f06da4603f49eb141.tar.xz
drakx-b4de162ca2747d54f991932f06da4603f49eb141.zip
move embedded and standalone managment from harddrake::ui to
standalone/harddrake2
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/harddrake29
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 89375e8fc..88e4c9a99 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -1,6 +1,13 @@
#!/usr/bin/perl -w
use lib qw(/usr/lib/libDrakX);
+use standalone;
use harddrake::ui;
-harddrake::ui->run;
+if ("@ARGV" =~ /--help|-h/) {
+ print "Harddrake 2\n", $license, "\nUsage: harddrake [-h|--help]\n";
+ exit;
+}
+$::isStandalone=1;
+
+harddrake::ui->new;