[arch-commits] Commit in screen/trunk (screen.install)
Allan McRae
allan at archlinux.org
Wed Feb 2 04:56:21 UTC 2011
Date: Tuesday, February 1, 2011 @ 23:56:21
Author: allan
Revision: 108664
get rid of old stuff in install file
Modified:
screen/trunk/screen.install
----------------+
screen.install | 21 ---------------------
1 file changed, 21 deletions(-)
Modified: screen.install
===================================================================
--- screen.install 2011-02-02 04:46:28 UTC (rev 108663)
+++ screen.install 2011-02-02 04:56:21 UTC (rev 108664)
@@ -8,32 +8,11 @@
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
More information about the arch-commits
mailing list