blob: 48ccf1bb35e62c23dad8a49c77846ff5bca2994b [file] [log] [blame]
#!/bin/sh
#
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
action="$1"
if [ "$2" = "in-favour" ]; then
# Treat conflict remove as an upgrade.
action="upgrade"
fi
# Don't clean-up just for an upgrade.`
if [ "$action" = "upgrade" ] ; then
exit 0
fi
@@include@@../common/prerm.include
# Remove from the alternatives system
update-alternatives --remove x-www-browser /usr/bin/@@PACKAGE@@
update-alternatives --remove gnome-www-browser /usr/bin/@@PACKAGE@@