chromium-browser-stable/chromium-20.0.1132.47-master-prefs-path.patch
2012-07-25 16:01:19 +04:00

13 lines
724 B
Diff

diff -urN chromium-20.0.1132.47.orig/chrome/browser/first_run/first_run_linux.cc chromium-20.0.1132.47/chrome/browser/first_run/first_run_linux.cc
--- chromium-20.0.1132.47.orig/chrome/browser/first_run/first_run_linux.cc 2012-07-09 18:31:56.482914645 +0400
+++ chromium-20.0.1132.47/chrome/browser/first_run/first_run_linux.cc 2012-07-09 18:34:30.879943380 +0400
@@ -101,8 +101,7 @@
FilePath MasterPrefsPath() {
// The standard location of the master prefs is next to the chrome binary.
FilePath master_prefs;
- if (!PathService::Get(base::DIR_EXE, &master_prefs))
- return FilePath();
+ master_prefs = FilePath("/etc/chromium-browser");
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}