diff options
Diffstat (limited to 'readme.install')
-rw-r--r-- | readme.install | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/readme.install b/readme.install index 794601718926..7befaa0716f6 100644 --- a/readme.install +++ b/readme.install @@ -5,14 +5,13 @@ post_remove() { post_install() { echo "--> Optionally create /etc/conf.d/kodi-standalone if you need to pass" echo "--> any environment variables to the service" - - if [[ -L /etc/systemd/system/graphical.target.wants/kodi.service ]]; then + + if find /etc/systemd/system -type l -name 'kodi.service' &>/dev/null; then echo '-->' echo '--> kodi.service is now kodi-x11.service' echo '--> you must disable the old one and enable the new one' + echo true fi } -pre_upgrade() { -} # vim:set ts=2 sw=2 et: |