summaryrefslogtreecommitdiff
path: root/chromium-master-prefs-path.patch
blob: f9e6b07c168e940c77bbf17323556e9dadfcd998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc
===================================================================
--- chromium-115.0.5790.32.orig/chrome/browser/first_run/first_run_internal_linux.cc
+++ chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc
@@ -21,10 +21,7 @@ bool IsOrganicFirstRun() {
 base::FilePath InitialPrefsPath() {
   // The standard location of the initial prefs is next to the chrome binary.
   base::FilePath dir_exe;
-  if (!base::PathService::Get(base::DIR_EXE, &dir_exe)) {
-    return base::FilePath();
-  }
-
+  dir_exe = base::FilePath("/etc/chromium");
   return installer::InitialPreferences::Path(dir_exe);
 }