File: prerm

package info (click to toggle)
dtaus 0.6-0potato1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 168 kB
  • ctags: 104
  • sloc: ansic: 1,210; makefile: 75; sh: 10
file content (7 lines) | stat: -rw-r--r-- 128 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#! /bin/sh

pkg=dtaus

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