diff options
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 |