summaryrefslogtreecommitdiff
path: root/pcr/lirc-parabola-lts/lirc-utils.install
blob: f7faa07eb0b6862e3226306d4f6ffdb3c4001558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}