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