Date: Saturday, August 2, 2014 @ 16:55:23
  Author: pierre
Revision: 218516

upgpkg: hefur 0.4-4

Fix FS#41352

Modified:
  hefur/trunk/PKGBUILD
  hefur/trunk/hefur.install

---------------+
 PKGBUILD      |    2 +-
 hefur.install |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-08-02 13:51:26 UTC (rev 218515)
+++ PKGBUILD    2014-08-02 14:55:23 UTC (rev 218516)
@@ -4,7 +4,7 @@
 
 pkgname=hefur
 pkgver=0.4
-pkgrel=3
+pkgrel=4
 pkgdesc='A standalone and lightweight BitTorrent tracker'
 arch=('i686' 'x86_64')
 url='http://github.com/abique/hefur'

Modified: hefur.install
===================================================================
--- hefur.install       2014-08-02 13:51:26 UTC (rev 218515)
+++ hefur.install       2014-08-02 14:55:23 UTC (rev 218516)
@@ -1,10 +1,10 @@
 post_install() {
        if [ ! `grep hefur /etc/group` ]; then
-               groupadd hefur &>/dev/null;
+               groupadd -r hefur &>/dev/null;
        fi
 
        id hefur &>/dev/null || \
-               useradd -g hefur -d /var/lib/hefurd -s /usr/bin/nologin hefur
+               useradd -r -g hefur -d /var/lib/hefurd -s /usr/bin/nologin hefur
 }
 
 post_upgrade() {

Reply via email to