From 392d2d86b3657d90c3954a44dd6e3e5a4d12d455 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 4 Dec 2011 23:14:51 +0000 Subject: Sun Dec 4 23:14:51 UTC 2011 --- testing/shadow/PKGBUILD | 4 ++-- testing/shadow/shadow.install | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'testing/shadow') diff --git a/testing/shadow/PKGBUILD b/testing/shadow/PKGBUILD index 42a553e0f..c7196a385 100644 --- a/testing/shadow/PKGBUILD +++ b/testing/shadow/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 143705 2011-11-28 13:37:43Z dreisner $ +# $Id: PKGBUILD 144103 2011-12-04 01:16:49Z dreisner $ # Maintainer: Dave Reisner # Maintainer: Aaron Griffin pkgname=shadow pkgver=4.1.4.3 -pkgrel=4 +pkgrel=5 pkgdesc="Password and account management tool suite with support for shadow files and PAM" arch=('i686' 'x86_64') url='http://pkg-shadow.alioth.debian.org/' diff --git a/testing/shadow/shadow.install b/testing/shadow/shadow.install index c1bd1066b..e990bfe39 100644 --- a/testing/shadow/shadow.install +++ b/testing/shadow/shadow.install @@ -1,8 +1,9 @@ post_upgrade() { - grpck -r &>/dev/null + grpck -r >/dev/null 2>&1 if [ $? -eq 2 ]; then - echo "Fixing gshadow file ..." - while :; do echo "y"; done | grpck &>/dev/null + printf '%s\n' \ + "==> Warning: /etc/group or /etc/gshadow are inconsistant." \ + " Run 'grpck' to correct this." fi return 0 } -- cgit v1.2.3-54-g00ecf