patch-xbmc_Application_cpp 475 B

1234567891011121314
  1. --- kodi-14.0rc2.orig/xbmc/Application.cpp 2014-12-05 19:38:44.000000000 -0600
  2. +++ kodi-14.0rc2/xbmc/Application.cpp 2014-12-07 10:16:27.900418001 -0600
  3. @@ -1076,10 +1076,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();