Fix StartupWMClass in .desktop

This commit is contained in:
Det 2015-09-10 02:28:35 +03:00
parent 46e5a749d7
commit 98c576087a

View file

@ -50,7 +50,7 @@ package() {
install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html
msg2 "Fixing Chrome icon resolution..." msg2 "Fixing Chrome icon resolution..."
sed -i "/Exec=/i\StartupWMClass=Google-chrome-$_channel" "$pkgdir"/usr/share/applications/google-chrome.desktop sed -i "/Exec=/i\StartupWMClass=Google-chrome" "$pkgdir"/usr/share/applications/google-chrome.desktop
msg2 "Fixing permissions of documentation folder..." msg2 "Fixing permissions of documentation folder..."
chmod 755 "$pkgdir"/usr/share/doc/google-chrome-$_channel/ chmod 755 "$pkgdir"/usr/share/doc/google-chrome-$_channel/