From f802e5b698ebee74d84a928ab02264ad9018851e Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Thu, 13 Oct 2016 23:08:34 +0300 Subject: [PATCH] OPENSUSE enables reading of the master preference --- chrome/browser/first_run/first_run_internal_linux.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/browser/first_run/first_run_internal_linux.cc b/chrome/browser/first_run/first_run_internal_linux.cc index 29826715b13..cf4693e38ab 100644 --- a/chrome/browser/first_run/first_run_internal_linux.cc +++ b/chrome/browser/first_run/first_run_internal_linux.cc @@ -13,17 +13,16 @@ namespace first_run { namespace internal { bool IsOrganicFirstRun() { // We treat all installs as organic. return true; } base::FilePath InitialPrefsPath() { // The standard location of the initial prefs is next to the chrome binary. base::FilePath initial_prefs; - if (!base::PathService::Get(base::DIR_EXE, &initial_prefs)) - return base::FilePath(); + initial_prefs = base::FilePath("/etc/chromium"); return initial_prefs.AppendASCII(installer::kLegacyInitialPrefs); } } // namespace internal } // namespace first_run -- 2.25.4