diff options
author | nox <nox@FreeBSD.org> | 2011-03-03 07:00:15 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2011-03-03 07:00:15 +0800 |
commit | 69798c8f7d9297770987e0bc3aa6130303db74f3 (patch) | |
tree | ecd89956eb9bc58d01ee5913fcfccd9f9531f39a /comms/lirc | |
parent | 07dd0931d2c180a8e32038961b46f0aa34c11aa3 (diff) | |
download | freebsd-ports-graphics-69798c8f7d9297770987e0bc3aa6130303db74f3.tar.gz freebsd-ports-graphics-69798c8f7d9297770987e0bc3aa6130303db74f3.tar.zst freebsd-ports-graphics-69798c8f7d9297770987e0bc3aa6130303db74f3.zip |
And this was missed too, doh!
Diffstat (limited to 'comms/lirc')
-rw-r--r-- | comms/lirc/pkg-plist | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/lirc/pkg-plist b/comms/lirc/pkg-plist index 2671d594156..38809305a74 100644 --- a/comms/lirc/pkg-plist +++ b/comms/lirc/pkg-plist @@ -18,6 +18,9 @@ lib/liblirc_client.so.2 sbin/lircd sbin/lircmd @dirrm include/lirc +@unexec if cmp -s %D/etc/lircd.conf.sample %D/etc/lircd.conf; then rm -f %D/etc/lircd.conf; fi +etc/lircd.conf.sample +@exec if [ ! -f %D/etc/lircd.conf ] ; then cp -p %D/%F %B/lircd.conf; fi @exec mkdir -p /var/run/lirc -@unexec rm -f /var/run/lirc.pid 2> /dev/null || true +@unexec rm -f /var/run/lircd.pid 2> /dev/null || true @unexec rm -rf /var/run/lircd 2> /dev/null || true |