summaryrefslogtreecommitdiff
path: root/testing/shadow
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-04 23:14:51 +0000
committerroot <root@rshg054.dnsready.net>2011-12-04 23:14:51 +0000
commit392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (patch)
treea88c28d4a6652dd77a3557f0dab9f6c6bdda037e /testing/shadow
parent851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 (diff)
Sun Dec 4 23:14:51 UTC 2011
Diffstat (limited to 'testing/shadow')
-rw-r--r--testing/shadow/PKGBUILD4
-rw-r--r--testing/shadow/shadow.install7
2 files changed, 6 insertions, 5 deletions
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 <dreisner@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
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
}