File: postrm

package info (click to toggle)
portmap 6.0.0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 320 kB
  • ctags: 87
  • sloc: ansic: 1,065; sh: 194; makefile: 96
file content (13 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

#DEBHELPER#

if [ "$1" = "purge" ]
then
    # Remove all non-conffiles that portmap might have created
    [ -f /etc/portmap.conf ] && rm -f /etc/portmap.conf
    [ -f /etc/default/portmap ] && rm -f /etc/default/portmap
fi

exit 0