updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / screen-vs / screen.install
blob18a202f3a79787d86b3c3400b459d1d1e26fa591
1 post_install() {
2     echo -n "compiling 256 color terminfo..."
3     tic /usr/share/screen/screen-256color.ti
4     echo "done."
5     echo ":: Set 'term screen-256color' or use 'term screen-256color-bce'"
6     echo "   with 'defbce on' in ~/.screenrc to use 256 colors"
8     install-info /usr/share/info/screen.info /usr/share/info/dir
11 pre_upgrade() {
12     pre_remove $*
15 post_upgrade() {
16     post_install $*
19 pre_remove() {
20     compiled="/usr/share/terminfo/s/screen-256color"
21     if [ -e $compiled ]; then
22         echo -n "removing compiled terminfo..."
23         rm -f $compiled
24         echo "done."
25     fi
26     compiled="/usr/share/terminfo/s/screen-256color-bce"
27     if [ -e $compiled ]; then
28         echo -n "removing compiled terminfo..."
29         rm -f $compiled
30         echo "done."
31     fi
34 op=$1
35 shift
36 $op $*