Last change
on this file since 34834 was 34679, checked in by vboxsync, 14 years ago |
Linux installer: properly handle VBoxExtPackHelperApp
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Copyright (C) 2006-2010 Oracle Corporation
|
---|
5 | #
|
---|
6 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
7 | # available from http://www.virtualbox.org. This file is free software;
|
---|
8 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
9 | # General Public License as published by the Free Software Foundation,
|
---|
10 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
11 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
12 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
13 | #
|
---|
14 |
|
---|
15 | # we can be called with the following arguments (6.5 of Debian policy):
|
---|
16 | # remove: (our version): remove our package
|
---|
17 | # purge: (our version): purge our package
|
---|
18 | # upgrade: (our version): upgrade to a new version
|
---|
19 | # failed-upgrade (old version): failed to upgrade to a new version
|
---|
20 | # abort-install (our version): aborted install
|
---|
21 | # abort-upgrade (old version): aborted upgrade
|
---|
22 |
|
---|
23 | if [ "$1" = "purge" -a ! -f /etc/init.d/vboxdrv ] ; then
|
---|
24 | update-rc.d vboxdrv remove >/dev/null || exit $?
|
---|
25 | fi
|
---|
26 | if [ "$1" = "purge" -a ! -f /etc/init.d/vboxnet ] ; then
|
---|
27 | update-rc.d vboxnet remove >/dev/null || exit $?
|
---|
28 | fi
|
---|
29 | if [ "$1" = "purge" -a ! -f /etc/init.d/vboxweb-service ] ; then
|
---|
30 | update-rc.d vboxweb-service remove >/dev/null || exit $?
|
---|
31 | fi
|
---|
32 |
|
---|
33 | #DEBHELPER#
|
---|
34 |
|
---|
35 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.