postrm revision 7c205843b5f25329b7bac4cb41e4c55a21c7aafe
0N/A#!/bin/sh
3261N/A
0N/A#
0N/A# Copyright (C) 2006-2010 Oracle Corporation
0N/A#
0N/A# This file is part of VirtualBox Open Source Edition (OSE), as
0N/A# available from http://www.virtualbox.org. This file is free software;
0N/A# you can redistribute it and/or modify it under the terms of the GNU
0N/A# General Public License as published by the Free Software Foundation,
0N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
0N/A# distribution. VirtualBox OSE is distributed in the hope that it will
0N/A# be useful, but WITHOUT ANY WARRANTY of any kind.
0N/A#
0N/A
2362N/A# we can be called with the following arguments (6.5 of Debian policy):
0N/A# remove: (our version): remove our package
0N/A# purge: (our version): purge our package
0N/A# upgrade: (our version): upgrade to a new version
0N/A# failed-upgrade (old version): failed to upgrade to a new version
0N/A# abort-install (our version): aborted install
0N/A# abort-upgrade (old version): aborted upgrade
0N/A
0N/Aif [ "$1" = "purge" -a ! -f /etc/init.d/vboxdrv ] ; then
0N/A update-rc.d vboxdrv remove >/dev/null || exit $?
0N/Afi
0N/Aif [ "$1" = "purge" -a ! -f /etc/init.d/vboxnet ] ; then
0N/A update-rc.d vboxnet remove >/dev/null || exit $?
0N/Afi
0N/A
0N/A#DEBHELPER#
0N/A
0N/Aexit 0
4378N/A