summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-29 13:26:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-29 13:26:57 +0000
commitc3a56db954023550258c3e962c12c68572a4b7eb (patch)
tree86c35698f32284bf164d56c85594bd1a160e6483 /perl-install/diskdrake
parent9e36f0517c289856e8f27a7eb4998cc01cde809b (diff)
downloaddrakx-c3a56db954023550258c3e962c12c68572a4b7eb.tar
drakx-c3a56db954023550258c3e962c12c68572a4b7eb.tar.gz
drakx-c3a56db954023550258c3e962c12c68572a4b7eb.tar.bz2
drakx-c3a56db954023550258c3e962c12c68572a4b7eb.tar.xz
drakx-c3a56db954023550258c3e962c12c68572a4b7eb.zip
handle the case where samba and/or nfs-utils are not installed
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/smbnfs_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/smbnfs_gtk.pm b/perl-install/diskdrake/smbnfs_gtk.pm
index f5e90a5fb..f9fed7f78 100644
--- a/perl-install/diskdrake/smbnfs_gtk.pm
+++ b/perl-install/diskdrake/smbnfs_gtk.pm
@@ -78,7 +78,7 @@ sub per_entry_action_box {
my @l = (
if_($entry, __("Mount point") => \&raw_hd_mount_point),
if_($entry && $entry->{mntpoint}, __("Options") => \&raw_hd_options),
- __("Export") => \&any::fileshare_config,
+ __("Export") => sub { any::fileshare_config($in, $kind->{type}) },
__("Done") => \&done,
);
push @buttons, map {