Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37716892
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 c3494d89302bd6728c46ba6c6dec76e7e2b5ef0c 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 | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/chrome/browser/first_run/first_run_internal_linux.cc b/chrome/browser/first_run/first_run_internal_linux.cc
index 58aba3c7991..652d4450de2 100644
--- a/chrome/browser/first_run/first_run_internal_linux.cc
+++ b/chrome/browser/first_run/first_run_internal_linux.cc
@@ -14,22 +14,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();
-
-  base::FilePath new_path = initial_prefs.AppendASCII(installer::kInitialPrefs);
-  if (base::PathIsReadable(new_path))
-    return new_path;
-
+  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