summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-04 11:34:46 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-04 11:37:52 (EDT)
commitb2ab30ef7209c82f85bcf911db0429feaecc1bd7 (patch)
treedad96a583c62c57d8d40a694c2f0bdd18097dd5f /busybox.pkg/postinst
parentaac7b03ebbefea7049ea3003ba62e6e2ac0ef9b9 (diff)
Manage clear and reset with update-alternatives.
These are also provided by ncurses-bin.
Diffstat (limited to 'busybox.pkg/postinst')
-rwxr-xr-xbusybox.pkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index c1ac929..526a66c 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -4,4 +4,8 @@ if [ "x${1}" = 'xconfigure' ]; then
update-alternatives --install /usr/bin/ar ar /usr/bin/ar.busybox 10
update-alternatives --install /usr/bin/strings strings \
/usr/bin/strings.busybox 10
+ update-alternatives --install /usr/bin/clear clear \
+ /usr/bin/clear.busybox 10
+ update-alternatives --install /usr/bin/reset reset \
+ /usr/bin/reset.busybox 10
fi