summaryrefslogtreecommitdiff
path: root/testing/shadow/shadow.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-02 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-07-02 00:01:20 +0000
commit9d209f25af63a35774000e87df4e188057f71b2f (patch)
treede003993674c9d9e51d40ea831588cd516c01a11 /testing/shadow/shadow.install
parent55f2d1ab0ab1bd2f7c8c7c5cefeb45f7c457a5d9 (diff)
Mon Jul 2 00:01:20 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
+}