File: dbab.postrm

package info (click to toggle)
dbab 1.6.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 184 kB
  • sloc: perl: 102; sh: 58; makefile: 40
file content (19 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh
# postinst script for dbab
#
# see: dh_installdeb(1)

set -e

# http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.1
if [ "$1" = purge ]; then
  rm -f /etc/dnsmasq.d/dbab-map.adblock.conf /etc/dnsmasq.d/dbab-map.trashsites.conf > /dev/null || true
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0