summaryrefslogtreecommitdiffstats
path: root/expect-doc.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'expect-doc.pkg/postinst')
-rw-r--r--expect-doc.pkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/expect-doc.pkg/postinst b/expect-doc.pkg/postinst
new file mode 100644
index 0000000..e0cec59
--- /dev/null
+++ b/expect-doc.pkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xconfigure' ]; then
+ update-alternatives --install /usr/bin/mkpasswd mkpasswd \
+ /usr/bin/mkpasswd.expect 10
+fi