OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1528
15 lines
726 B
Diff
15 lines
726 B
Diff
Index: chromium-86.0.4240.75/chrome/browser/first_run/first_run_internal_linux.cc
|
|
===================================================================
|
|
--- chromium-86.0.4240.75.orig/chrome/browser/first_run/first_run_internal_linux.cc
|
|
+++ chromium-86.0.4240.75/chrome/browser/first_run/first_run_internal_linux.cc
|
|
@@ -20,8 +20,7 @@ bool IsOrganicFirstRun() {
|
|
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))
|
|
- return base::FilePath();
|
|
+ initial_prefs = base::FilePath("/etc/chromium");
|
|
return initial_prefs.AppendASCII(installer::kLegacyInitialPrefs);
|
|
}
|
|
|