File: miniupnpd.postrm

package info (click to toggle)
miniupnpd 2.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,040 kB
  • sloc: ansic: 28,571; sh: 2,024; makefile: 164
file content (16 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

# Remove configuration if package is being purged
if [ "$1" = "purge" ]; then
	rm -f /etc/miniupnpd/miniupnpd.conf
	rm -f /etc/default/miniupnpd
	if [ -e /etc/miniupnpd ] ; then
		rmdir --ignore-fail-on-non-empty /etc/miniupnpd || true
	fi
fi

#DEBHELPER#

exit 0