summarylogtreecommitdiffstats
path: root/readme.install
blob: 1f139db05183461a6e20a251d106ed84b68b4b61 (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/"
}

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' &>/dev/null; then
    echo '--> kodi.service is now kodi-x11.service'
    echo '--> you must disable the old one and enable the new one'
  fi
}

# vim:set ts=2 sw=2 et: