File: prerm

package info (click to toggle)
pktrace 1.0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 172 kB
  • ctags: 228
  • sloc: python: 716; ansic: 556; makefile: 46; sh: 37
file content (12 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

# Clean up alternatives and compiled files

#DEBHELPER#

if [ "$1" = remove ]; then
    rm -f /usr/share/pktrace/*.pyc /usr/share/pktrace/*.pyo
    update-alternatives --remove pktrace /usr/bin/pktrace1.5
    update-alternatives --remove pktrace /usr/bin/pktrace2.1
    update-alternatives --remove pktrace /usr/bin/pktrace2.2
fi