summaryrefslogtreecommitdiff
path: root/libre-testing/shadow/shadow.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/shadow/shadow.install')
-rw-r--r--libre-testing/shadow/shadow.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre-testing/shadow/shadow.install b/libre-testing/shadow/shadow.install
new file mode 100644
index 000000000..14384c333
--- /dev/null
+++ b/libre-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
+}