summaryrefslogtreecommitdiffstats
path: root/screen/screen.install
diff options
context:
space:
mode:
Diffstat (limited to 'screen/screen.install')
-rw-r--r--screen/screen.install42
1 files changed, 0 insertions, 42 deletions
diff --git a/screen/screen.install b/screen/screen.install
deleted file mode 100644
index 3ef5757..0000000
--- a/screen/screen.install
+++ /dev/null
@@ -1,42 +0,0 @@
-infodir=/usr/share/info
-filelist=(screen.info screen.info-1 screen.info-2 screen.info-3 screen.info-4 screen.info-5)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-pre_upgrade() {
- compiled="/usr/share/terminfo/s/screen-256color"
- if [ -e $compiled ]; then
- if pacman -Qo $compiled 2>&1 | grep "No package owns" >/dev/null; then
- echo -n "removing compiled terminfo..."
- rm -f $compiled
- echo "done."
- fi
- fi
- compiled="/usr/share/terminfo/s/screen-256color-bce"
- if [ -e $compiled ]; then
- if pacman -Qo $compiled 2>&1 | grep "No package owns" >/dev/null; then
- echo -n "removing compiled terminfo..."
- rm -f $compiled
- echo "done."
- fi
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- pre_upgrade $*
-
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-