File: prerm

package info (click to toggle)
latte 2.1-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,064 kB
  • ctags: 1,223
  • sloc: sh: 7,506; cpp: 5,831; ansic: 662; perl: 628; makefile: 350; yacc: 196; lisp: 114
file content (16 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

PACKAGE=latte

case "$1" in
	remove)	
		install-info --quiet \
		  --remove latte.info
		;;
esac

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
    -a -L /usr/doc/$PACKAGE ]; then
        rm -f /usr/doc/$PACKAGE
fi