File: postrm

package info (click to toggle)
analog 2:6.0-22
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 6,772 kB
  • sloc: ansic: 45,186; makefile: 279; perl: 249; sh: 49
file content (13 lines) | stat: -rw-r--r-- 352 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
	rm -f /usr/lib/cgi-bin/anlgform.cgi
	if [ -d /usr/lib/cgi-bin ]; then
		rmdir -p --ignore-fail-on-non-empty /usr/lib/cgi-bin 2>/dev/null
	fi
	if [ -e /var/cache/analog/dnscache ]; then
		rm -f /var/cache/analog/dnscache
		rmdir -p --ignore-fail-on-non-empty /var/cache/analog/ 2>/dev/null
	fi
fi