[alpine-aports] [PATCH] testing/knot: fixed pre-install script

Dennis Przytarski
Details
Message ID
<1439898591-32335-1-git-send-email-dennis@przytarski.com>
Sender timestamp
1439898591
DKIM signature
missing
Download raw message
Patch: +2 -2
the option G is unrecognized for addgroup
---
 testing/knot/APKBUILD         | 2 +-
 testing/knot/knot.pre-install | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/knot/APKBUILD b/testing/knot/APKBUILD
index 0ed5305..d4a9e7a 100644
--- a/testing/knot/APKBUILD
+++ b/testing/knot/APKBUILD
@@ -3,7 +3,7 @@
 # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 pkgname=knot
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An high-performance authoritative-only DNS server"
 url="https://www.knot-dns.cz"
 arch="all"
diff --git a/testing/knot/knot.pre-install b/testing/knot/knot.pre-install
index 6341b31..57bc704 100644
--- a/testing/knot/knot.pre-install
+++ b/testing/knot/knot.pre-install
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-addgroup -G knot 2>/dev/null
+addgroup -S knot 2>/dev/null
 adduser -s /sbin/nologin -G knot -S -D -H knot 2>/dev/null
 
 exit 0
-- 
2.4.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---