chromium-browser-stable-sla.../chromium-26.0.1410.46-master-prefs-path.patch

14 lines
740 B
Diff
Raw Normal View History

2013-04-07 01:58:31 +04:00
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();
2013-04-23 12:00:19 +04:00
+ master_prefs = FilePath("/etc/chromium-browser");
2013-04-07 01:58:31 +04:00
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}