Chromium Code Reviews| Index: chrome/installer/linux/common/postinst.include |
| diff --git a/chrome/installer/linux/common/postinst.include b/chrome/installer/linux/common/postinst.include |
| index c659d9a5150a1f1ac9175d27270b289dca589450..12a2ea9e0d04126e1854b075e787fab9a6a0c1f2 100644 |
| --- a/chrome/installer/linux/common/postinst.include |
| +++ b/chrome/installer/linux/common/postinst.include |
| @@ -9,6 +9,11 @@ for icon in "@@INSTALLDIR@@/product_logo_"*.png; do |
| "$XDG_ICON_RESOURCE" install --size "${size%.png}" "$icon" "@@PACKAGE@@" |
| done |
| +for icon in "@@INSTALLDIR@@/product_symbolic_logo_"*.symbolic.png; do |
|
Tom (Use chromium acct)
2017/02/23 03:11:35
Would it be possible to combine this and the above
|
| + size="${icon##*/product_symbolic_logo_}" |
| + "$XDG_ICON_RESOURCE" install --size "${size%.symbolic.png}" "$icon" "@@PACKAGE@@-symbolic.symbolic" |
|
Lei Zhang
2017/02/23 07:28:31
Like with most code, we limit ourselves to 80 char
|
| +done |
| + |
| UPDATE_MENUS="`which update-menus 2> /dev/null || true`" |
| if [ -x "$UPDATE_MENUS" ]; then |
| update-menus |