File: prerm

package info (click to toggle)
netperf 2.1pl3-1
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 2,664 kB
  • ctags: 1,700
  • sloc: ansic: 27,833; sh: 437; makefile: 178
file content (10 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh -e

if [ -x "/etc/init.d/netperf" ]; then
	/etc/init.d/netperf stop
fi

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