Files
helium/patches/debian/master-preferences.patch
Eloston f3458f5f60 Blind import of Debian patches version 47.0.2526.73
Blind import of Inox patchset as of commit 3280f7c2026faeab47f9ad3ced6485005e914012
2015-12-04 20:15:10 -08:00

18 lines
616 B
Diff

description: search for master_preferences in /usr/share/chromium
--- a/chrome/browser/first_run/first_run_internal_linux.cc
+++ b/chrome/browser/first_run/first_run_internal_linux.cc
@@ -18,11 +18,7 @@ bool IsOrganicFirstRun() {
}
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();
- return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
+ return base::FilePath("/usr/share/chromium");
}
} // namespace internal