diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-16 22:05:22 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-16 22:05:22 +0300 |
commit | a0668a067d82608d3eef748c58ac8f16774031f3 (patch) | |
tree | 75848a023003b4fba5a0635e357d3824f25586d4 /testing/mlocate/post-install | |
parent | 5b3e6a3fc121cddfbebe97811249d72c74bba38e (diff) | |
download | repository-a0668a067d82608d3eef748c58ac8f16774031f3.tar.gz |
mlocate: add package to testing
Diffstat (limited to 'testing/mlocate/post-install')
-rwxr-xr-x | testing/mlocate/post-install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/mlocate/post-install b/testing/mlocate/post-install new file mode 100755 index 00000000..31c4d616 --- /dev/null +++ b/testing/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 |