From b2ab30ef7209c82f85bcf911db0429feaecc1bd7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 04 Aug 2013 11:34:46 -0400 Subject: Manage clear and reset with update-alternatives. These are also provided by ncurses-bin. --- (limited to 'busybox.pkg') 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 diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm index f1511f8..12937d3 100755 --- a/busybox.pkg/prerm +++ b/busybox.pkg/prerm @@ -3,4 +3,6 @@ if [ "${1}" = remove ]; then update-alternatives --remove ar /usr/bin/ar.busybox update-alternatives --remove strings /usr/bin/strings.busybox + update-alternatives --remove clear /usr/bin/clear.busybox + update-alternatives --remove reset /usr/bin/reset.busybox fi -- cgit v0.9.1