Mail archive
alpine-aports

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

From: Dennis Przytarski <dennis_at_przytarski.com>
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
_at_@ -3,7 +3,7 @@
 # Maintainer: Francesco Colista <fcolista_at_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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Aug 18 2015 - 11:49:51 GMT