File: prerm

package info (click to toggle)
gtoaster 0.19991130-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,700 kB
  • ctags: 1,318
  • sloc: ansic: 12,739; sh: 353; makefile: 217; sed: 93
file content (15 lines) | stat: -rw-r--r-- 231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

pkg=gtoaster

if [ ! \( "$1" = "upgrade" -o "$1" = "remove" \) ]; then
	exit 0
fi

if [ -L /usr/doc/$pkg ]; then
	rm -f /usr/doc/$pkg
fi

if command -v install-docs >/dev/null 2>&1; then
	install-docs -r gtoaster
fi