aboutsummaryrefslogtreecommitdiff
path: root/extra/mlocate/post-install
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-02 00:30:55 +0300
committerCem Keylan <cem@ckyln.com>2020-05-02 00:30:55 +0300
commit8e7a41c7746b16920c11ee8f533606e09dcfba48 (patch)
tree44d6ced0ef18721a379f9611f09e4cf9e6601cdf /extra/mlocate/post-install
parent5c21665a5c38986f186207296e931177bf065d33 (diff)
downloadrepository-8e7a41c7746b16920c11ee8f533606e09dcfba48.tar.gz
mlocate: move post-install to message
Diffstat (limited to 'extra/mlocate/post-install')
-rwxr-xr-xextra/mlocate/post-install18
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