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

14 lines
724 B
Diff
Raw Normal View History

2012-07-25 13:37:48 +04:00
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();
2012-07-25 16:03:48 +04:00
+ master_prefs = FilePath("/etc/chromium-browser");
2012-07-25 13:37:48 +04:00
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}