summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-12 01:03:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-12 01:03:14 +0000
commit47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc (patch)
tree9ad28a2d8b002c6ddf9af76723f2a34ce910fd16 /perl-install
parent998962202d898bcf302ee80a47d323653d2f5ce3 (diff)
downloaddrakx-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar
drakx-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar.gz
drakx-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar.bz2
drakx-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar.xz
drakx-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.zip
default to "Custom" when group fileshare exists (bugzilla #15917)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
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]) {