summarylogtreecommitdiffstats
path: root/shadow.install
diff options
context:
space:
mode:
authorAndy Pieters2015-06-11 16:28:25 +0100
committerAndy Pieters2015-06-11 16:28:25 +0100
commit30a4fba3ea5f82af772b6cc4f7e6b140d8cfafde (patch)
tree69462fd7d7d4fd28bac073a6202530044bca89a7 /shadow.install
downloadaur-30a4fba3ea5f82af772b6cc4f7e6b140d8cfafde.tar.gz
Migrated from AUR to AUR4; version 4.2.1-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
+}