From 4314663066526170a019628c2153e6239269eb69 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 04 Aug 2013 11:41:09 -0400 Subject: Manage clear and reset with update-alternatives. --- (limited to 'ncurses-bin.pkg/postinst') diff --git a/ncurses-bin.pkg/postinst b/ncurses-bin.pkg/postinst new file mode 100755 index 0000000..d68ce3f --- /dev/null +++ b/ncurses-bin.pkg/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "x${1}" = 'xconfigure' ]; then + update-alternatives --install /usr/bin/clear clear \ + /usr/bin/clear.ncurses 10 + update-alternatives --install /usr/bin/reset reset \ + /usr/bin/reset.ncurses 10 +fi -- cgit v0.9.1