summaryrefslogtreecommitdiff
path: root/testing/shadow/shadow.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-02 15:52:33 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-02 15:52:33 -0300
commit0ca20230bdd33f8e07d2da28bec74c5e685650e9 (patch)
tree6f09c1056210679c3dfe0c6534ffd6b2d0f7bf68 /testing/shadow/shadow.install
parentca8ab20a665411e312578954c85f1bd3913fc726 (diff)
parent9d209f25af63a35774000e87df4e188057f71b2f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/mythtv/PKGBUILD community-staging/mythtv/mythbackend.rc community-staging/mythtv/mythtv.install community/sigil/PKGBUILD extra/pixman/PKGBUILD staging/vlc/PKGBUILD
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
+}