Files
chromium-dev/chromium-master-prefs-path.patch

13 lines
613 B
Diff

diff -dupr a/src/chrome/browser/first_run.cc b/src/chrome/browser/first_run.cc
--- a/src/chrome/browser/first_run/first_run_gtk.cc 2010-03-10 10:21:33.000000000 -0700
+++ b/src/chrome/browser/first_run/first_run_gtk.cc 2010-03-10 13:08:12.000000000 -0700
@@ -63,7 +63,6 @@
FilePath FirstRun::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");
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}