File chromium-master-prefs-path.patch of Package chromium

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);
 }
openSUSE Build Service is sponsored by