diff options
author | Philipp Schmitt | 2016-03-01 14:31:15 +0100 |
---|---|---|
committer | Philipp Schmitt | 2016-03-01 14:31:15 +0100 |
commit | 95e7c8c275f5b6b45f9d50996639f73b1ab7c760 (patch) | |
tree | 479d365b50456b2eabaf6761d4e120d3eb7da4f1 /lirc.install | |
download | aur-lirc-irdroid.tar.gz |
Import files
Diffstat (limited to 'lirc.install')
-rw-r--r-- | lirc.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lirc.install b/lirc.install new file mode 100644 index 000000000000..f7faa07eb0b6 --- /dev/null +++ b/lirc.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 +} |