File: emacs-common-non-dfsg.prerm

package info (click to toggle)
emacs22-non-dfsg 22.2%2B2-1.1
  • links: PTS
  • area: non-free
  • in suites: lenny
  • size: 12,248 kB
  • ctags: 60
  • sloc: makefile: 714; lisp: 100; perl: 90; sh: 27
file content (20 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

MAJOR=@MAJOR_VERSION@
MINOR=@MINOR_VERSION@
FULL=@FULL_VERSION@
INFOFILES="@INFOFILES@"

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

for file in ${INFOFILES}
do
  install-info --quiet --remove-exactly emacs-${MAJOR}/${file} || true
done

#DEBHELPER#