diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-17 01:06:33 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-17 01:06:33 +0300 |
commit | 0124c81db637ae1af5ea628748cfa3d8c6069cde (patch) | |
tree | dd7cdc80df4fa5514ef337d4a0f489c4735032d2 /extra/mlocate/post-install | |
parent | dfb5a2bd511d63d67a0fa73f2deb2abfd0d52960 (diff) | |
download | repository-0124c81db637ae1af5ea628748cfa3d8c6069cde.tar.gz |
mlocate: move to extra
Diffstat (limited to 'extra/mlocate/post-install')
-rwxr-xr-x | extra/mlocate/post-install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/mlocate/post-install b/extra/mlocate/post-install new file mode 100755 index 00000000..31c4d616 --- /dev/null +++ b/extra/mlocate/post-install @@ -0,0 +1,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 |