From 8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:34 +0200 Subject: Adding debian version 7.0.14-dfsg-4. Signed-off-by: Daniel Baumann --- debian/virtualbox-dkms.postinst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/virtualbox-dkms.postinst (limited to 'debian/virtualbox-dkms.postinst') diff --git a/debian/virtualbox-dkms.postinst b/debian/virtualbox-dkms.postinst new file mode 100644 index 00000000..e075f169 --- /dev/null +++ b/debian/virtualbox-dkms.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ "$1" = configure ]; then + # only restart if VirtualBox isn't running + if test -x /etc/init.d/virtualbox && ! pidof VBoxSVC > /dev/null; then + invoke-rc.d virtualbox restart || true + fi +fi -- cgit v1.2.3