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
}