diff options
author | Sylvain CECCHETTO <cecchetto.sylvain@me.com> | 2020-10-28 16:02:26 +0100 |
---|---|---|
committer | Sylvain CECCHETTO <cecchetto.sylvain@me.com> | 2020-10-28 16:02:26 +0100 |
commit | 0b7173651ee29d667499c9d4fbb9964bac230399 (patch) | |
tree | 052dcfb33d6ec931d81aa09b7f049cbae4d4f412 /tools/Linux | |
parent | d45c30f1ba70f4a87ca54c32d0da12fd3728abc4 (diff) |
[linux] Remove XBMC migration step
Kodi is Kodi since "XBMC 14", we can assume that
no one will update from XBMC 13 to Kodi 19.
Diffstat (limited to 'tools/Linux')
-rw-r--r-- | tools/Linux/kodi.sh.in | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in index 6899a47c1e..aaf2f4ff7f 100644 --- a/tools/Linux/kodi.sh.in +++ b/tools/Linux/kodi.sh.in @@ -59,18 +59,6 @@ fi APPORT_CORE="/var/crash/$(echo -n ${KODI_BINARY}|tr / _).$(id -u).crash" -migrate_home() -{ - [ "$(basename $0)" = "xbmc" ] && echo "WARNING: Running ${bin_name} as "xbmc" is deprecated and will be removed in later versions, please switch to using the ${bin_name} binary" - - #check if data migration is needed - if [ -d "${HOME}/.xbmc" ] && [ ! -d "${KODI_DATA}" ]; then - echo "INFO: migrating userdata folder. Renaming ${HOME}/.xbmc to $KODI_DATA" - mv ${HOME}/.xbmc $KODI_DATA - touch ${KODI_DATA}/.kodi_data_was_migrated - fi -} - command_exists() { command -pv $1 >/dev/null 2>&1 @@ -172,8 +160,6 @@ propagate_sigterm() { trap propagate_sigterm TERM -migrate_home - if command_exists gdb; then # Output warning in case ulimit is unsupported by shell eval ulimit -c unlimited |