File: prerm

package info (click to toggle)
xml2 0.3-1
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 72 kB
  • ctags: 69
  • sloc: ansic: 596; makefile: 57; sh: 12
file content (7 lines) | stat: -rw-r--r-- 140 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh -e

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