X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=master-prefs-path.patch;h=40b66182c3561e078b429c8c9fb391c97fe629ae;hb=22720e8bf5f721e795bd47e58fddd5d7b2b24b93;hp=298613f23cfd40e4e80f64e2c91d408dfff1303c;hpb=0562b86490500fc18588939d7e333ba345035c91;p=packages%2Fchromium-browser.git diff --git a/master-prefs-path.patch b/master-prefs-path.patch index 298613f..40b6618 100644 --- a/master-prefs-path.patch +++ b/master-prefs-path.patch @@ -1,14 +1,12 @@ -Index: chromium/src/chrome/browser/first_run/first_run_linux.cc -=================================================================== ---- chromium.orig/src/chrome/browser/first_run/first_run_linux.cc -+++ chromium/src/chrome/browser/first_run/first_run_linux.cc -@@ -100,8 +100,7 @@ void AutoImport( - FilePath MasterPrefsPath() { +--- chromium-browser-26.0.1410.12/src/chrome/browser/first_run/first_run_internal_linux.cc~ 2013-02-21 12:11:48.000000000 +0200 ++++ chromium-browser-26.0.1410.12/src/chrome/browser/first_run/first_run_internal_linux.cc 2013-02-25 16:00:59.000031225 +0200 +@@ -71,8 +71,7 @@ + base::FilePath MasterPrefsPath() { // The standard location of the master prefs is next to the chrome binary. - FilePath master_prefs; + base::FilePath master_prefs; - if (!PathService::Get(base::DIR_EXE, &master_prefs)) -- return FilePath(); -+ master_prefs = FilePath("/etc/chromium-browser"); +- return base::FilePath(); ++ master_prefs = base::FilePath("/etc/chromium-browser"); return master_prefs.AppendASCII(installer::kDefaultMasterPrefs); }