From 47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 12 May 2005 01:03:14 +0000 Subject: default to "Custom" when group fileshare exists (bugzilla #15917) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index 697022a47..b909ad6aa 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -927,7 +927,7 @@ Allowing this will permit users to simply click on \"Share\" in konqueror and na \"Custom\" permit a per-user granularity. "), - \@l, $l[$restrict ? 0 : 1]) or return; + \@l, $l[$restrict ? (getgrnam('fileshare') ? 2 : 0) : 1]) or return; $restrict = $r ne $l[1]; my $custom = $r eq $l[2]; if ($r ne $l[0]) { -- cgit v1.2.1