#!/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. # Remove icon from the system menu XDG_DESKTOP_MENU="`which xdg-desktop-menu 2> /dev/null`" UPDATE_MENUS="`which update-menus 2> /dev/null`" if [ ! -x "$XDG_DESKTOP_MENU" ]; then echo "Error: Could not find xdg-desktop-menu" >&2 exit 1 fi "$XDG_DESKTOP_MENU" uninstall @@INSTALLDIR@@/@@PACKAGE@@.desktop if [ -x "$UPDATE_MENUS" ]; then update-menus fi # Remove any Google repository added by the package. @@include@@../common/apt.include if [ -x "$APT_GET" ]; then clean_sources_lists fi