From 0b7173651ee29d667499c9d4fbb9964bac230399 Mon Sep 17 00:00:00 2001 From: Sylvain CECCHETTO Date: Wed, 28 Oct 2020 16:02:26 +0100 Subject: [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. --- tools/Linux/kodi.sh.in | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tools/Linux') 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 -- cgit v1.2.3