diff options
-rwxr-xr-x | samba_wizard/Samba.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm index d23b4a5a..7237079d 100755 --- a/samba_wizard/Samba.pm +++ b/samba_wizard/Samba.pm @@ -176,7 +176,12 @@ $o->{pages} = { { 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} }, ], - next => 'ask_printers' + complete => sub { + if ($o->{var}{wiz_do_printer_sharing} == "1") { + return 'ask_printers' + } else { return 'summary' } + }, + next => 'summary', }, ask_printers => { name => N("Select which printers you want to be accessible from known users"), |