File: postrm

package info (click to toggle)
portmap 5-26
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 264 kB
  • ctags: 111
  • sloc: ansic: 1,061; sh: 178; makefile: 100
file content (12 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -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