summarylogtreecommitdiffstats
path: root/shadow.install
diff options
context:
space:
mode:
authorMattias Andrée2015-12-13 15:37:23 +0100
committerMattias Andrée2015-12-13 15:37:23 +0100
commitb5e7ab30ace8fe0b34d0401315cef15f3c22f818 (patch)
tree8a8ac89bf2a90a78a67a65e08e311d7e8e814032 /shadow.install
downloadaur-b5e7ab30ace8fe0b34d0401315cef15f3c22f818.tar.gz
Initial import, version 4.2.1
Diffstat (limited to 'shadow.install')
-rw-r--r--shadow.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/shadow.install b/shadow.install
new file mode 100644
index 000000000000..14384c3330e8
--- /dev/null
+++ b/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
+}