preinst.in revision 365b40dec2ed01d9983d29e276e7431c5a4a9c18
#
# Copyright (C) 2006-2008 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#
db_version 2.0
# check for upgrade, disable this check for now
if false; then
db_go || true
if [ "$RET" = false ]; then
exit 1
fi
fi
fi
# check for old vboxdrv modules
# old modules found
if [ "$RET" = "false" ]; then
cat << EOF
Old vboxdrv kernel modules found in
EOF
cat << EOF
Removing of these modules denied by debconf setting
EOF
else
db_go || true
if [ "$RET" = "true" ]; then
fi
fi
fi
#DEBHELPER#