]> git.pld-linux.org Git - packages/google-chrome.git/commitdiff
- use sed instead so it will work for beta/unstable, too
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 20 Nov 2013 09:31:42 +0000 (10:31 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 20 Nov 2013 09:31:42 +0000 (10:31 +0100)
chrome-desktop.patch
google-chrome.spec

index ab876835e0f97dca04f0dc6318e82801d2c1c70c..c63442a9e66fc2100d6268cd536256f81040e718 100644 (file)
@@ -1,12 +1,6 @@
 --- google-chrome-15.0.874.106/google-chrome.desktop~  2011-10-27 00:22:10.000000000 +0300
 +++ google-chrome-15.0.874.106/google-chrome.desktop   2011-10-27 00:24:02.861899987 +0300
-@@ -105,12 +105,12 @@
- Comment[zh_CN]=访问互联网
- Comment[zh_HK]=連線到網際網路
- Comment[zh_TW]=連線到網際網路
--Exec=/usr/bin/google-chrome-stable %U
-+Exec=/usr/bin/google-chrome %U
- Terminal=false
+@@ -110,7 +110,7 @@ Terminal=false
  Icon=google-chrome
  Type=Application
  Categories=Network;WebBrowser;
@@ -15,17 +9,3 @@
  X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
  
  [NewWindow Shortcut Group]
-@@ -165,7 +165,7 @@
- Name[vi]=Cửa sổ Mới
- Name[zh_CN]=新建窗口
- Name[zh_TW]=開新視窗
--Exec=/usr/bin/google-chrome-stable
-+Exec=/usr/bin/google-chrome
- TargetEnvironment=Unity
- [NewIncognito Shortcut Group]
-@@ -220,3 +220,3 @@
- Name[zh_TW]=新增無痕式視窗
--Exec=/usr/bin/google-chrome-stable --incognito
-+Exec=/usr/bin/google-chrome --incognito
- TargetEnvironment=Unity
index c34f6218ef5206d2012bbe302741fdc86efb1cc8..a585507607a9698c6ed3a2303e5f8c7bd0502a8d 100644 (file)
@@ -157,6 +157,7 @@ rm chrome/xdg-mime
 %{__sed} -e 's,@localedir@,%{_libdir}/%{name},' %{SOURCE4} > find-lang.sh
 %{__sed} -i 's;/opt/google/chrome/product_logo_48.png;%{name}.png;' google-chrome.desktop
 %{__sed} -i 's;/opt/google/chrome;%{_bindir};' google-chrome.desktop
+%{__sed} -i 's#google-chrome-\(stable\|beta\|unstable\)#google-chrome#g' google-chrome.desktop
 
 %build
 v=$(awk -F'"' '/version/{print $4}' browser-plugins/PepperFlash/manifest.json)
This page took 0.15653 seconds and 4 git commands to generate.