[arch-commits] Commit in shadow/trunk (PKGBUILD shadow.install)

Dave Reisner dreisner at archlinux.org
Sun Dec 4 01:15:57 UTC 2011


    Date: Saturday, December 3, 2011 @ 20:15:57
  Author: dreisner
Revision: 144102

upgpkg: shadow 4.1.4.3-5

- remove bashism from install scriptlet
- remove auto-fixit if grpck exit with 2 (FS#27270)

Modified:
  shadow/trunk/PKGBUILD
  shadow/trunk/shadow.install

----------------+
 PKGBUILD       |    2 +-
 shadow.install |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-03 22:12:51 UTC (rev 144101)
+++ PKGBUILD	2011-12-04 01:15:57 UTC (rev 144102)
@@ -4,7 +4,7 @@
 
 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/'

Modified: shadow.install
===================================================================
--- shadow.install	2011-12-03 22:12:51 UTC (rev 144101)
+++ shadow.install	2011-12-04 01:15:57 UTC (rev 144102)
@@ -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
 }




More information about the arch-commits mailing list