1#!/bin/sh 2# 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. 6 7set -e 8 9action="$1" 10if [ "$2" = "in-favour" ]; then 11 # Treat conflict remove as an upgrade. 12 action="upgrade" 13fi 14# Don't clean-up just for an upgrade.` 15if [ "$action" = "upgrade" ] ; then 16 exit 0 17fi 18 19@@include@@../common/prerm.include 20 21# Remove from the alternatives system 22update-alternatives --remove x-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@ 23update-alternatives --remove gnome-www-browser /usr/bin/@@USR_BIN_SYMLINK_NAME@@ 24 25update-alternatives --remove google-chrome /usr/bin/@@USR_BIN_SYMLINK_NAME@@ 26