diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-05-12 01:03:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-05-12 01:03:14 +0000 |
commit | 47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc (patch) | |
tree | 9ad28a2d8b002c6ddf9af76723f2a34ce910fd16 | |
parent | 998962202d898bcf302ee80a47d323653d2f5ce3 (diff) | |
download | drakx-backup-do-not-use-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar drakx-backup-do-not-use-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar.gz drakx-backup-do-not-use-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar.bz2 drakx-backup-do-not-use-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.tar.xz drakx-backup-do-not-use-47bf79f5745b04cb6b9ddf11a4f220784ac4f8fc.zip |
default to "Custom" when group fileshare exists (bugzilla #15917)
-rw-r--r-- | perl-install/any.pm | 2 |
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]) { |