aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-03-03 07:00:15 +0800
committernox <nox@FreeBSD.org>2011-03-03 07:00:15 +0800
commit69798c8f7d9297770987e0bc3aa6130303db74f3 (patch)
treeecd89956eb9bc58d01ee5913fcfccd9f9531f39a /comms
parent07dd0931d2c180a8e32038961b46f0aa34c11aa3 (diff)
downloadfreebsd-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')
-rw-r--r--comms/lirc/pkg-plist5
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