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

Side by Side Diff: chrome_linux/installer/debian/prerm

Issue 42163002: Roll Linux reference build to official build 31.0.1650.34 (trunk r224845, branch r230433) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 7 years, 1 month 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/debian/postinst ('k') | chrome_linux/installer/rpm/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 action="$1" 7 action="$1"
8 if [ "$2" = "in-favour" ]; then 8 if [ "$2" = "in-favour" ]; then
9 # Treat conflict remove as an upgrade. 9 # Treat conflict remove as an upgrade.
10 action="upgrade" 10 action="upgrade"
11 fi 11 fi
12 # Don't clean-up just for an upgrade.` 12 # Don't clean-up just for an upgrade.`
13 if [ "$action" = "upgrade" ] ; then 13 if [ "$action" = "upgrade" ] ; then
14 exit 0 14 exit 0
15 fi 15 fi
16 16
17 @@include@@../common/prerm.include 17 @@include@@../common/prerm.include
18 18
19 # Remove from the alternatives system 19 # Remove from the alternatives system
20 update-alternatives --remove x-www-browser /usr/bin/@@PACKAGE@@ 20 update-alternatives --remove x-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@
21 update-alternatives --remove gnome-www-browser /usr/bin/@@PACKAGE@@ 21 update-alternatives --remove gnome-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@
22
23 update-alternatives --remove google-chrome /usr/bin/@@USR_BIN_SYMLINK_NAME@@
OLDNEW
« no previous file with comments | « chrome_linux/installer/debian/postinst ('k') | chrome_linux/installer/rpm/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698