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

Side by Side Diff: chrome_linux/installer/common/prerm.include

Issue 310483004: Roll reference builds to 35.0.1916.114. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_linux/installer/common/postinst.include ('k') | chrome_linux/installer/common/wrapper » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Remove icons from the system icons 1 # Remove icons from the system icons
2 XDG_ICON_RESOURCE="`which xdg-icon-resource 2> /dev/null || true`" 2 XDG_ICON_RESOURCE="`which xdg-icon-resource 2> /dev/null || true`"
3 if [ ! -x "$XDG_ICON_RESOURCE" ]; then 3 if [ ! -x "$XDG_ICON_RESOURCE" ]; then
4 echo "Error: Could not find xdg-icon-resource" >&2 4 echo "Error: Could not find xdg-icon-resource" >&2
5 exit 1 5 exit 1
6 fi 6 fi
7 for icon in "@@INSTALLDIR@@/product_logo_"*.png; do 7 for icon in "@@INSTALLDIR@@/product_logo_"*.png; do
8 size="${icon##*/product_logo_}" 8 size="${icon##*/product_logo_}"
9 "$XDG_ICON_RESOURCE" uninstall --size "${size%.png}" "@@PACKAGE@@" 9 "$XDG_ICON_RESOURCE" uninstall --size "${size%.png}" "@@PACKAGE@@"
10 done 10 done
11 11
12 UPDATE_MENUS="`which update-menus 2> /dev/null || true`" 12 UPDATE_MENUS="`which update-menus 2> /dev/null || true`"
13 if [ -x "$UPDATE_MENUS" ]; then 13 if [ -x "$UPDATE_MENUS" ]; then
14 update-menus 14 update-menus
15 fi 15 fi
16 16
17 # Update cache of .desktop file MIME types. Non-fatal since it's just a cache. 17 # Update cache of .desktop file MIME types. Non-fatal since it's just a cache.
18 update-desktop-database || true 18 update-desktop-database > /dev/null 2>&1 || true
OLDNEW
« no previous file with comments | « chrome_linux/installer/common/postinst.include ('k') | chrome_linux/installer/common/wrapper » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698