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

14 lines
788 B
Diff
Raw Normal View History

2013-10-07 14:53:21 +04:00
diff -urN chromium-30.0.1599.66.orig/chrome/browser/first_run/first_run_internal_linux.cc chromium-30.0.1599.66/chrome/browser/first_run/first_run_internal_linux.cc
--- chromium-30.0.1599.66.orig/chrome/browser/first_run/first_run_internal_linux.cc 2013-10-04 13:51:55.589208095 +0400
+++ chromium-30.0.1599.66/chrome/browser/first_run/first_run_internal_linux.cc 2013-10-04 13:52:49.035210352 +0400
@@ -20,8 +20,7 @@
base::FilePath MasterPrefsPath() {
// The standard location of the master prefs is next to the chrome binary.
base::FilePath master_prefs;
2018-08-13 15:03:08 +03:00
- if (!base::PathService::Get(base::DIR_EXE, &master_prefs))
2013-10-07 14:53:21 +04:00
- return base::FilePath();
2013-10-09 18:46:00 +04:00
+ master_prefs = base::FilePath("/etc/chromium-browser");
2013-10-07 14:53:21 +04:00
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}