summaryrefslogtreecommitdiff
path: root/testing/shadow/shadow.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-14 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2012-02-14 23:14:55 +0000
commit812b715ebd89fb9049df7000c721990084b525c6 (patch)
tree28d43e6e6913a90b83f44660108e44f7353d8c82 /testing/shadow/shadow.install
parent16e845de1bbf76ab48a02bfaa21730f45e6afaaa (diff)
Tue Feb 14 23:14:55 UTC 2012
Diffstat (limited to 'testing/shadow/shadow.install')
-rw-r--r--testing/shadow/shadow.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/shadow/shadow.install b/testing/shadow/shadow.install
new file mode 100644
index 000000000..14384c333
--- /dev/null
+++ b/testing/shadow/shadow.install
@@ -0,0 +1,9 @@
+post_upgrade() {
+ grpck -r >/dev/null 2>&1
+ if [ $? -eq 2 ]; then
+ printf '%s\n' \
+ "==> Warning: /etc/group or /etc/gshadow are inconsistent." \
+ " Run 'grpck' to correct this."
+ fi
+ return 0
+}