Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5214)

Unified Diff: chrome/installer/linux/common/prerm.include

Issue 2701703002: installer/linux: add symbolic icon for use in gnome-shell
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/linux/common/prerm.include
diff --git a/chrome/installer/linux/common/prerm.include b/chrome/installer/linux/common/prerm.include
index 5bb2c4005d7dd444e693cec135bbc485240263fa..d72d599f0b348dccee4a7ddba09b78d23d335a81 100644
--- a/chrome/installer/linux/common/prerm.include
+++ b/chrome/installer/linux/common/prerm.include
@@ -9,6 +9,11 @@ for icon in "@@INSTALLDIR@@/product_logo_"*.png; do
"$XDG_ICON_RESOURCE" uninstall --size "${size%.png}" "@@PACKAGE@@"
done
+for icon in "@@INSTALLDIR@@/product_symbolic_logo_"*.symbolic.png; do
Tom (Use chromium acct) 2017/02/23 03:11:35 Ditto
+ size="${icon##*/product_symbolic_logo_}"
+ "$XDG_ICON_RESOURCE" uninstall --size "${size%.symbolic.png}" "@@PACKAGE@@-symbolic.symbolic"
+done
+
UPDATE_MENUS="`which update-menus 2> /dev/null || true`"
if [ -x "$UPDATE_MENUS" ]; then
update-menus

Powered by Google App Engine
This is Rietveld 408576698