File: lirc.postrm

package info (click to toggle)
lirc 0.10.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,364 kB
  • sloc: ansic: 26,717; cpp: 9,066; sh: 5,521; python: 4,362; makefile: 1,034; xml: 63
file content (16 lines) | stat: -rwxr-xr-x 318 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

if test "$1" = 'purge'; then
    for f in lircd.conf lircmd.conf irexec.lircrc lirc_options.conf; do
	rm -f /etc/lirc/$f;
    done || :
    find /etc/lirc -type d -empty -delete || :
    rm -f /usr/lib/python3/dist-packages/lirc
    rm -f /usr/lib/python3/dist-packages/lirc-setup
fi


#DEBHELPER#