File: prerm-lib

package info (click to toggle)
bzip2-old 0.9.5d-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,640 kB
  • ctags: 660
  • sloc: ansic: 4,996; makefile: 177; sh: 56
file content (7 lines) | stat: -rw-r--r-- 128 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh

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