diff options
Diffstat (limited to 'extra/mlocate/post-install')
-rwxr-xr-x | extra/mlocate/post-install | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/extra/mlocate/post-install b/extra/mlocate/post-install index 31c4d616..2eee6f2e 100755 --- a/extra/mlocate/post-install +++ b/extra/mlocate/post-install @@ -1,19 +1,3 @@ #!/bin/sh -e -if grep -q mlocate /etc/group; then - echo "mlocate group already exists, skipping creation" -else - echo "Creating mlocate group" - addgroup mlocate -fi - -cat <<EOF - -NOTE: In order to use "locate" command without -root priviliges add yourself to the - - mlocate - -group. - -EOF +grep -q mlocate /etc/group || addgroup mlocate |