From 97e4306a0f4c690e2f17cdcf1c8c1dc1642b5881 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Wed, 19 Feb 2014 22:08:08 -0500
Subject: Manage /usr/bin/mkpasswd with update-alternatives.

This is also provided by busybox.
---
(limited to 'expect-doc.pkg/prerm')

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
--
cgit v0.9.1