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/prerm') diff --git a/ncurses-bin.pkg/prerm b/ncurses-bin.pkg/prerm new file mode 100755 index 0000000..d066d16 --- /dev/null +++ b/ncurses-bin.pkg/prerm @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ "x${1}" = 'xremove' ]; then + update-alternatives --remove clear /usr/bin/clear.ncurses + update-alternatives --remove reset /usr/bin/reset.ncurses +fi -- cgit v0.9.1