Home | History | Annotate | Download | only in debian
      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 
      7 set -e
      8 
      9 action="$1"
     10 if [ "$2" = "in-favour" ]; then
     11   # Treat conflict remove as an upgrade.
     12   action="upgrade"
     13 fi
     14 # Don't clean-up just for an upgrade.`
     15 if [ "$action" = "upgrade" ] ; then
     16   exit 0
     17 fi
     18 
     19 @@include@@../common/prerm.include
     20 
     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@@
     24 
     25 update-alternatives --remove google-chrome /usr/bin/@@USR_BIN_SYMLINK_NAME@@
     26