blob: e384598d903f13b74ceabd006155cf3ac1af57b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_remove() {
echo "--> Optionally remove /var/lib/kodi/ if you wish to remove all data too"
}
post_install() {
echo "--> Optionally create /etc/conf.d/kodi-standalone if you need to pass"
echo "--> any environment variables to the service"
post_upgrade
}
post_upgrade() {
if find /etc/systemd/system -type l -name 'kodi.service'|grep . &>/dev/null; then
echo '--> kodi.service is now kodi-x11.service'
echo '--> manually disable the old one and enable the new one'
fi
}
# vim:set ts=2 sw=2 et:
|