summarylogtreecommitdiffstats
path: root/.install
diff options
context:
space:
mode:
authorFranco Masotti2017-03-09 15:19:04 +0100
committerFranco Masotti2017-03-09 15:19:04 +0100
commit93587ca47cadf3bbd80db5e52880b547d9e0d818 (patch)
treed740c468f71a794c932423ec675f8207572d1881 /.install
parent7a1659085eea033b740cfa1b41a8044bf4d9a9c9 (diff)
downloadaur-swish-cplint.tar.gz
Updated to new version.
Diffstat (limited to '.install')
-rw-r--r--.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/.install b/.install
index c4aeefd3c07c..6902e56bc66e 100644
--- a/.install
+++ b/.install
@@ -1,8 +1,8 @@
post_install() {
# Add swish user and group with a home directory (which will contain all
# the packs).
- getent group swish &>/dev/null || groupadd -r swish >/dev/null
- getent passwd swish &>/dev/null || useradd -m -d /home/swish \
+ getent group swish 1>/dev/null 2>/dev/null || groupadd -r swish >/dev/null
+ getent passwd swish 1>/dev/null 2>/dev/null || useradd -m -d /home/swish \
-r -g swish swish >/dev/null
# Add swish user to the rserve group. If this is not done, access to the