source: pkg/boss/main/virtualbox-ose/trunk/debian/virtualbox-ose.postrm @ 4744

Revision 4744, 475 bytes checked in by alanbach-guest, 5 years ago (diff)
  • Added virtualbox-ose 2.0 to BOSS
Line 
1#!/bin/sh
2
3set -e
4
5case "${1}" in
6        purge)
7                # Removing vboxusers group
8                if [ -x /usr/sbin/delgroup ]
9                then
10                        # delgroup may return error status 3 if there is a non-system group
11                        # "vboxusers". The postrm should not fail in this case!
12                        delgroup --quiet --system vboxusers || true
13                fi
14                ;;
15
16        remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
17
18                ;;
19
20        *)
21                echo "postrm called with unknown argument \`${1}'" >&2
22                exit 1
23                ;;
24esac
25
26#DEBHELPER#
27
28exit 0
Note: See TracBrowser for help on using the repository browser.