File: prerm

package info (click to toggle)
base-passwd 3.1.10
  • links: PTS
  • area: main
  • in suites: potato
  • size: 200 kB
  • ctags: 115
  • sloc: ansic: 1,149; sh: 232; makefile: 76
file content (12 lines) | stat: -rwxr-xr-x 154 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh -e

pkg=base-passwd

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

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