File: prerm

package info (click to toggle)
python-oss 0.0.0.20010624-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 388 kB
  • ctags: 206
  • sloc: ansic: 1,351; makefile: 63; sh: 14; python: 8
file content (9 lines) | stat: -rw-r--r-- 158 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

PACKAGE=python-oss

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