repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 8e7a41c7746b16920c11ee8f533606e09dcfba48
parent 5c21665a5c38986f186207296e931177bf065d33
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat,  2 May 2020 00:30:55 +0300

mlocate: move post-install to message

Diffstat:
Aextra/mlocate/message | 5+++++
Mextra/mlocate/post-install | 18+-----------------
2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/extra/mlocate/message b/extra/mlocate/message @@ -0,0 +1,5 @@ +NOTE: + + In order to use "locate" command without + root priviliges add yourself to the 'mlocate' + group. diff --git 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