WIP... Chromium 91.0.4472.77 (boo#1186458) aarch is still broken... OBS-URL: https://build.opensuse.org/request/show/895620 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1547
16 lines
797 B
Diff
16 lines
797 B
Diff
Index: chromium-91.0.4472.57/chrome/browser/first_run/first_run_internal_linux.cc
|
|
===================================================================
|
|
--- 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() {
|
|
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");
|
|
base::FilePath new_path = initial_prefs.AppendASCII(installer::kInitialPrefs);
|
|
if (base::PathIsReadable(new_path))
|
|
return new_path;
|