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

Side by Side Diff: chrome/installer/linux/debian/prerm

Issue 2299093002: Revert of Support relocatable RPM packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/installer/linux/debian/postrm ('k') | chrome/installer/linux/rpm/chrome.spec.template » ('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 set -e 7 set -e
8 8
9 action="$1" 9 action="$1"
10 if [ "$2" = "in-favour" ]; then 10 if [ "$2" = "in-favour" ]; then
11 # Treat conflict remove as an upgrade. 11 # Treat conflict remove as an upgrade.
12 action="upgrade" 12 action="upgrade"
13 fi 13 fi
14 # Don't clean-up just for an upgrade.` 14 # Don't clean-up just for an upgrade.`
15 if [ "$action" = "upgrade" ] ; then 15 if [ "$action" = "upgrade" ] ; then
16 exit 0 16 exit 0
17 fi 17 fi
18 18
19 @@include@@../common/variables.include
20
21 @@include@@../common/prerm.include 19 @@include@@../common/prerm.include
22 20
23 # Remove from the alternatives system 21 # Remove from the alternatives system
24 update-alternatives --remove x-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@ 22 update-alternatives --remove x-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@
25 update-alternatives --remove gnome-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@ 23 update-alternatives --remove gnome-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@
26 24
27 update-alternatives --remove google-chrome /usr/bin/@@USR_BIN_SYMLINK_NAME@@ 25 update-alternatives --remove google-chrome /usr/bin/@@USR_BIN_SYMLINK_NAME@@
OLDNEW
« no previous file with comments | « chrome/installer/linux/debian/postrm ('k') | chrome/installer/linux/rpm/chrome.spec.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698