summaryrefslogtreecommitdiffstats
path: root/ncurses-bin.pkg/postinst
blob: a824bfde9d5ff52c1c6619104a5c94b08295db2a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "x${1}" = 'xconfigure' ]; then
	update-alternatives --install /usr/bin/clear clear \
		/usr/bin/clear.ncurses 20
	update-alternatives --install /usr/bin/reset reset \
		/usr/bin/reset.ncurses 20
fi