File: lirc.postrm

package info (click to toggle)
lirc 0.7.1pre2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,852 kB
  • ctags: 2,924
  • sloc: ansic: 31,205; sh: 12,021; makefile: 631
file content (15 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

. /usr/share/debconf/confmodule

#DEBHELPER#

if [ "$1" = "purge" ]; then
	[ -x /usr/sbin/update-devfsd ] && /usr/sbin/update-devfsd >&2
#	rm -f /etc/lircd.conf.old /etc/lircd.conf.new
fi

#debhelper may use debconf stuff and update-devfsd restarts devfsd which
#doesn't close stdin/out/err properly.
db_stop