summaryrefslogtreecommitdiffstats
path: root/expect-doc.pkg/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-19 22:08:08 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-19 22:08:08 (EST)
commit97e4306a0f4c690e2f17cdcf1c8c1dc1642b5881 (patch)
tree97cb2fa8d16b60b8be559b74bf6d9913c7db35fc /expect-doc.pkg/prerm
parent0c445507d6f714536ea1142b322ba8799a15e4fc (diff)
Manage /usr/bin/mkpasswd with update-alternatives.
This is also provided by busybox.
Diffstat (limited to 'expect-doc.pkg/prerm')
-rw-r--r--expect-doc.pkg/prerm5
1 files changed, 5 insertions, 0 deletions
diff --git a/expect-doc.pkg/prerm b/expect-doc.pkg/prerm
new file mode 100644
index 0000000..f67579a
--- /dev/null
+++ b/expect-doc.pkg/prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xremove' ]; then
+ update-alternatives --remove mkpasswd /usr/bin/mkpasswd.expect
+fi