patch-xbmc_Application_cpp 539 B

1234567891011121314
  1. --- kodi-ff25ea118e3580bb1ebcbb7c450ed933da1782be.orig/xbmc/Application.cpp 2015-05-25 11:50:32.000000000 -0500
  2. +++ kodi-ff25ea118e3580bb1ebcbb7c450ed933da1782be/xbmc/Application.cpp 2015-05-25 11:53:49.534501831 -0500
  3. @@ -911,10 +911,7 @@ bool CApplication::InitDirectoriesLinux(
  4. userName = "root";
  5. std::string userHome;
  6. - if (getenv("HOME"))
  7. - userHome = getenv("HOME");
  8. - else
  9. - userHome = "/root";
  10. + userHome = "/data/kodi";
  11. std::string appBinPath, appPath;
  12. std::string appName = CCompileInfo::GetAppName();