From 8e7a41c7746b16920c11ee8f533606e09dcfba48 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 2 May 2020 00:30:55 +0300 Subject: mlocate: move post-install to message --- extra/mlocate/message | 5 +++++ extra/mlocate/post-install | 18 +----------------- 2 files changed, 6 insertions(+), 17 deletions(-) create mode 100644 extra/mlocate/message (limited to 'extra/mlocate') diff --git a/extra/mlocate/message b/extra/mlocate/message new file mode 100644 index 00000000..79a549fc --- /dev/null +++ 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 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 <