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

From: Dennis Przytarski <[email-masked]>
Date: Tue, 18 Aug 2015 11:49:51 +0000

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 <[email-masked]>
 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:  [email-masked]
Help:         [email-masked]
---