Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / installer / linux / debian / prerm
blobc2870d2e038a4b100640b784a7c76023ce4aa143
1 #!/bin/sh
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
5 # found in the LICENSE file.
7 set -e
9 action="$1"
10 if [ "$2" = "in-favour" ]; then
11 # Treat conflict remove as an upgrade.
12 action="upgrade"
14 # Don't clean-up just for an upgrade.`
15 if [ "$action" = "upgrade" ] ; then
16 exit 0
19 @@include@@../common/prerm.include
21 # Remove from the alternatives system
22 update-alternatives --remove x-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@
23 update-alternatives --remove gnome-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@
25 update-alternatives --remove google-chrome /usr/bin/@@USR_BIN_SYMLINK_NAME@@