summaryrefslogtreecommitdiff
path: root/package/kodi/patches/patch-xbmc_Application_cpp
blob: 325ced594303366640449274aedc58a90c83c074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- xbmc-16.0-Jarvis.orig/xbmc/Application.cpp	2016-02-20 16:21:19.000000000 +0100
+++ xbmc-16.0-Jarvis/xbmc/Application.cpp	2016-03-14 04:38:00.084253990 +0100
@@ -871,10 +871,7 @@ bool CApplication::InitDirectoriesLinux(
     userName = "root";
 
   std::string userHome;
-  if (getenv("HOME"))
-    userHome = getenv("HOME");
-  else
-    userHome = "/root";
+  userHome = "/data/kodi";
 
   std::string appBinPath, appPath;
   std::string appName = CCompileInfo::GetAppName();