summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-07-29 05:30:44 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-07-29 05:30:44 +0000
commit590090ef0883700ff44215f763721f37c520e6c6 (patch)
tree1d87c8877ff38785b93054f08a5614aec4a63e8a /samba_wizard
parent49ff463da29d3a86e9ca9fb58ddd41d14cdd8212 (diff)
downloaddrakwizard-590090ef0883700ff44215f763721f37c520e6c6.tar
drakwizard-590090ef0883700ff44215f763721f37c520e6c6.tar.gz
drakwizard-590090ef0883700ff44215f763721f37c520e6c6.tar.bz2
drakwizard-590090ef0883700ff44215f763721f37c520e6c6.tar.xz
drakwizard-590090ef0883700ff44215f763721f37c520e6c6.zip
fix pb of enabling home share
Diffstat (limited to 'samba_wizard')
-rwxr-xr-xsamba_wizard/Samba.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index 7237079d..db8f3fe1 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -171,16 +171,16 @@ $o->{pages} = {
$o->{var}{wiz_read_list} ||= get_read();
$o->{var}{wiz_write_list} ||= get_write()
},
-# post => \&check_users,
+ post => \&check_printer,
data => [
{ label => N("Read list:"), help => N("root, fred, \@users, \@wheel"), val => \$o->{var}{wiz_read_list} },
{ label => N("Write list:"), help => N("root, fred, \@users, \@wheel"), val => \$o->{var}{wiz_write_list} },
],
- complete => sub {
- if ($o->{var}{wiz_do_printer_sharing} == "1") {
- return 'ask_printers'
- } else { return 'summary' }
- },
+# complete => sub {
+# if ($o->{var}{wiz_do_printer_sharing} == "1") {
+# return 'ask_printers'
+# } else { return 'summary' }
+# },
next => 'summary',
},
ask_printers => {
@@ -342,7 +342,7 @@ sub list_printers {
}
-sub check_users {
+sub check_printers {
return 'ask_printers' if $o->{var}{wiz_do_printer_sharing}
}