summaryrefslogtreecommitdiff
path: root/testing/shadow/shadow.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/shadow/shadow.install')
-rw-r--r--testing/shadow/shadow.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/shadow/shadow.install b/testing/shadow/shadow.install
new file mode 100644
index 000000000..c1bd1066b
--- /dev/null
+++ b/testing/shadow/shadow.install
@@ -0,0 +1,8 @@
+post_upgrade() {
+ grpck -r &>/dev/null
+ if [ $? -eq 2 ]; then
+ echo "Fixing gshadow file ..."
+ while :; do echo "y"; done | grpck &>/dev/null
+ fi
+ return 0
+}