File: iptables-optimizer.postrm

package info (click to toggle)
iptables-optimizer 0.9.14-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 316 kB
  • ctags: 99
  • sloc: python: 470; sh: 263; makefile: 174
file content (22 lines) | stat: -rw-r--r-- 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

#DEBHELPER#

# Remove cached config files on purge only

case "$1" in
    purge)
	rm -rf /var/cache/iptables-optimizer
	rm -f  /var/run/iptables-optimizer-*
    ;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
        # Nothing to do here
    ;;

    *)
        echo "$0 called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac