summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-13 21:03:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-13 21:03:16 +0000
commitf13b0c38b9b1c794f803ed3f496e076924cde03a (patch)
tree6f37ffede4432fb090f57966eef4de080e3a9fb2 /perl-install/standalone
parent2a52ec22dfdc103b693110a82cc04a59c1a6075a (diff)
downloaddrakx-f13b0c38b9b1c794f803ed3f496e076924cde03a.tar
drakx-f13b0c38b9b1c794f803ed3f496e076924cde03a.tar.gz
drakx-f13b0c38b9b1c794f803ed3f496e076924cde03a.tar.bz2
drakx-f13b0c38b9b1c794f803ed3f496e076924cde03a.tar.xz
drakx-f13b0c38b9b1c794f803ed3f496e076924cde03a.zip
rough WebDAV gui
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/diskdrake5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index 56f175b57..ae07e8ebe 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -49,7 +49,7 @@ while (my $e = shift @l) {
$::expert = defined(delete $options{expert});
$::testing = defined(delete $options{testing});
-my @types = qw(hd nfs smb removable fileshare);
+my @types = qw(hd nfs smb dav removable fileshare);
my ($type, $para) = ('hd', '');
foreach (@types) {
if (exists $options{$_}) {
@@ -108,6 +108,9 @@ if ($type eq 'hd') {
first(grep { $para eq $_->{device} } @{$all_hds->{raw_hds}}) || die "unknown removable $para\n" :
$in->ask_from_listf('', '', \&diskdrake::interactive::format_raw_hd_info, $all_hds->{raw_hds}) or $in->exit(0);
diskdrake::removable::main($in, $all_hds, $raw_hd);
+} elsif ($type eq 'dav') {
+ require diskdrake::dav;
+ diskdrake::dav::main($in, $all_hds);
} else {
$in->ask_warn('', "Sorry only a gtk frontend is available") if !$in->isa('interactive::gtk');
require diskdrake::smbnfs_gtk;