diff options
author | Dave Blake <oak99sky@yahoo.co.uk> | 2020-11-08 15:34:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-08 15:34:05 +0000 |
commit | 0c9d98851e9e3a0f7eba0ebda19c649fe8a8b1bc (patch) | |
tree | a6e59bb0de4d0eb391bd64fac1018947fbe72e0f /tools/Linux | |
parent | cce99b44d13314611f20bbfe80221c8463d5dc09 (diff) | |
parent | 16427e9c69f8c54035b129f4bdecee30a947b635 (diff) |
Merge pull request #18659 from sy6sy2/remove-xbmc-migration
Remove XBMC migration steps
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 |