Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37723833
en ru br
ALT Linux repositórios
S:117.0.5938.132-alt1
3.0: 0.9.12-alt7

Group :: Rede/WWW
RPM: chromium

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0001-OPENSUSE-enables-reading-of-the-master-preference.patch
Download


From f802e5b698ebee74d84a928ab02264ad9018851e Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
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
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009