diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-17 03:23:13 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-17 03:23:13 +0000 |
commit | d9e3d7066ad07c8dd884792dd90fecb9f5971ab2 (patch) | |
tree | 576dd0e595b65810f7f19ae8b9e9617a52831dec /community/bip/bip.install | |
parent | c78a18750fc2b9df6ea94089159f4176a1f9198d (diff) |
Thu Apr 17 03:20:20 UTC 2014
Diffstat (limited to 'community/bip/bip.install')
-rw-r--r-- | community/bip/bip.install | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/bip/bip.install b/community/bip/bip.install index 5c7857aff..53ec9ac10 100644 --- a/community/bip/bip.install +++ b/community/bip/bip.install @@ -1,15 +1,14 @@ post_install() { if ! getent passwd bip > /dev/null; then echo "==> Creating bip user" - usr/bin/useradd --comment "Bip IRC Proxy" --shell /bin/sh --home /var/lib/bip --system --user-group bip + /usr/bin/useradd --comment "Bip IRC Proxy" --shell /bin/sh --home /var/lib/bip --system --user-group bip fi - - mkdir -p /var/run/bip 2 > /dev/null + mkdir -p /var/run/bip 2>/dev/null chown -R bip:bip /var/run/bip - - mkdir -p /var/log/bip 2 > /dev/null + mkdir -p /var/lib/bip 2>/dev/null + chown -R bip:bip /var/lib/bip + mkdir -p /var/log/bip 2>/dev/null chown -R bip:bip /var/log/bip - systemctl daemon-reload } post_upgrade() { |