From 8b292063556c8b504c3a3077e06866903eb29f69 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 7 Mar 2002 13:21:26 +0000 Subject: fix fileshare custom config --- perl-install/any.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index ed6ad3ba0..097d77a34 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -989,14 +989,14 @@ Allowing this will permit users to simply click on "Share" in konqueror and naut setVarsInSh($file, \%conf); if ($r eq $l[2]) { # custom - if ($in->ask_from_('', + if ($in->ask_from_no_check( { - -e '/usr/bin/userdrake' ? (ok => _("Launch userdrake")) : (cancel => ''), - title => + -e '/usr/bin/userdrake' ? (ok => _("Launch userdrake"), cancel => _("Cancel")) : (cancel => ''), + messages => _("The per-user sharing uses the group \"fileshare\". You can use userdrake to add a user in this group.") - })) { - if (fork) { exec "userdrake" or c::_exit(0) } + }, [])) { + if (!fork) { exec "userdrake" or c::_exit(0) } } } } -- cgit v1.2.1