summaryrefslogtreecommitdiff
path: root/libre/lirc/lirc-utils.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/lirc/lirc-utils.install')
-rw-r--r--libre/lirc/lirc-utils.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/lirc/lirc-utils.install b/libre/lirc/lirc-utils.install
new file mode 100644
index 000000000..f7faa07eb
--- /dev/null
+++ b/libre/lirc/lirc-utils.install
@@ -0,0 +1,13 @@
+post_install() {
+ systemd-tmpfiles --create lirc.conf
+}
+
+post_upgrade() {
+ post_install
+
+ if [[ "$(vercmp $2 1:0.9.1-1)" -lt 0 ]]; then
+ echo ':: lirc.service and lircm.service have been replaced'
+ echo ' by the upstream unit files lircd.service and'
+ echo ' lircmd.service.'
+ fi
+}