chromium-browser-stable-test/chromium-27.0.1453.93-master-prefs-path.patch

13 lines
746 B
Diff

diff -urN chromium-26.0.1410.46.orig/chrome/browser/first_run/first_run_linux.cc chromium-26.0.1410.46/chrome/browser/first_run/first_run_linux.cc
--- chromium-26.0.1410.46.orig/chrome/browser/first_run/first_run_linux.cc 2013-03-24 17:04:54.631372548 +0400
+++ chromium-26.0.1410.46/chrome/browser/first_run/first_run_linux.cc 2013-03-24 17:08:25.165502064 +0400
@@ -71,8 +71,7 @@
base::FilePath MasterPrefsPath() {
// The standard location of the master prefs is next to the chrome binary.
base::FilePath master_prefs;
- if (!PathService::Get(base::DIR_EXE, &master_prefs))
- return base::FilePath();
+ master_prefs = base::FilePath("/etc/chromium-browser");
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}