2021-05-27 19:17:30 +00:00
|
|
|
Index: chromium-91.0.4472.57/chrome/browser/first_run/first_run_internal_linux.cc
|
2012-01-26 08:17:54 +00:00
|
|
|
===================================================================
|
2021-05-27 19:17:30 +00:00
|
|
|
--- chromium-91.0.4472.57.orig/chrome/browser/first_run/first_run_internal_linux.cc
|
|
|
|
|
+++ chromium-91.0.4472.57/chrome/browser/first_run/first_run_internal_linux.cc
|
|
|
|
|
@@ -21,9 +21,7 @@ bool IsOrganicFirstRun() {
|
2020-10-14 11:15:31 +00:00
|
|
|
base::FilePath InitialPrefsPath() {
|
|
|
|
|
// The standard location of the initial prefs is next to the chrome binary.
|
|
|
|
|
base::FilePath initial_prefs;
|
|
|
|
|
- if (!base::PathService::Get(base::DIR_EXE, &initial_prefs))
|
2013-02-12 21:02:11 +00:00
|
|
|
- return base::FilePath();
|
2021-05-27 19:17:30 +00:00
|
|
|
-
|
2020-10-14 12:05:46 +00:00
|
|
|
+ initial_prefs = base::FilePath("/etc/chromium");
|
2021-05-27 19:17:30 +00:00
|
|
|
base::FilePath new_path = initial_prefs.AppendASCII(installer::kInitialPrefs);
|
|
|
|
|
if (base::PathIsReadable(new_path))
|
|
|
|
|
return new_path;
|