aboutsummaryrefslogtreecommitdiff
path: root/extra/mlocate/post-install
blob: 31c4d6161156379c5156e614587fe4723a11dabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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