File: postinst

package info (click to toggle)
lirc 0.9.4c-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,264 kB
  • ctags: 5,536
  • sloc: ansic: 26,459; cpp: 9,138; sh: 5,492; python: 2,996; makefile: 873; xml: 63
file content (14 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

systemd-tmpfiles --create /usr/lib/tmpfiles.d/lirc.conf || :

for f in lircd.conf lircmd.conf irexec.lircrc lirc_options.conf; do
    test -e /etc/lirc/$f || cp /etc/lirc/${f}.dist /etc/lirc/$f || :
done

python3 -m compileall  /usr/lib/*/python3/dist-packages/lirc/


#DEBHELPER#