diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-01 10:13:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-01 10:13:49 +0000 |
commit | b4de162ca2747d54f991932f06da4603f49eb141 (patch) | |
tree | e7e91debdcd9d5f11065b90112104f6750954cd7 /perl-install/standalone | |
parent | 9f5d4498f6a3f5fb9bf0f4232c64da5161fbe646 (diff) | |
download | drakx-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-x | perl-install/standalone/harddrake2 | 9 |
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; |