summaryrefslogtreecommitdiffstats
path: root/abs/core/shadow/shadow.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 18:56:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 18:56:35 (GMT)
commit0b381dd66f9bdaf037466ef813f307c003697be5 (patch)
tree1062704a0207952c497004c3a065ad8c45e309a7 /abs/core/shadow/shadow.install
parent0a99d35f1ed216f57144f1c04b1a90d894ff16fd (diff)
downloadlinhes_pkgbuild-0b381dd66f9bdaf037466ef813f307c003697be5.zip
linhes_pkgbuild-0b381dd66f9bdaf037466ef813f307c003697be5.tar.gz
linhes_pkgbuild-0b381dd66f9bdaf037466ef813f307c003697be5.tar.bz2
shadow 4.1.51
Diffstat (limited to 'abs/core/shadow/shadow.install')
-rw-r--r--abs/core/shadow/shadow.install7
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/shadow/shadow.install b/abs/core/shadow/shadow.install
index c1bd106..14384c3 100644
--- a/abs/core/shadow/shadow.install
+++ b/abs/core/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 inconsistent." \
+ " Run 'grpck' to correct this."
fi
return 0
}