summaryrefslogtreecommitdiff
path: root/pcr/lirc-parabola-lts/lirc-utils.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 19:40:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 19:40:36 -0300
commite8319462e19058a8d28bc77f03b6379af7cb9e08 (patch)
treee3698fd0dc40546e8390bded82355d149055bebc /pcr/lirc-parabola-lts/lirc-utils.install
parenta440b2cc73827e1c46a817f60532f11392273753 (diff)
downloadabslibre-e8319462e19058a8d28bc77f03b6379af7cb9e08.tar.gz
abslibre-e8319462e19058a8d28bc77f03b6379af7cb9e08.tar.bz2
abslibre-e8319462e19058a8d28bc77f03b6379af7cb9e08.zip
{{bbswitch,lirc,vhba-module}-parabola-{lts,grsec},{acpi_call,tp_smapi}-parabola-grsec}: move to [pcr] because those packages aren't official on Arch yet
Diffstat (limited to 'pcr/lirc-parabola-lts/lirc-utils.install')
-rw-r--r--pcr/lirc-parabola-lts/lirc-utils.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/lirc-parabola-lts/lirc-utils.install b/pcr/lirc-parabola-lts/lirc-utils.install
new file mode 100644
index 000000000..f7faa07eb
--- /dev/null
+++ b/pcr/lirc-parabola-lts/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
+}