From f4f3a659b7663cf52c2f2e1fa8e58ed4000e29c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:49:11 +0200 Subject: Adding debian version 7.0.6-dfsg-1. Signed-off-by: Daniel Baumann --- debian/virtualbox-source.files/postinst.modules.in | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/virtualbox-source.files/postinst.modules.in (limited to 'debian/virtualbox-source.files/postinst.modules.in') diff --git a/debian/virtualbox-source.files/postinst.modules.in b/debian/virtualbox-source.files/postinst.modules.in new file mode 100644 index 00000000..20417402 --- /dev/null +++ b/debian/virtualbox-source.files/postinst.modules.in @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +case "${1}" in + configure) + # 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 + ;; + + abort-upgrade|abort-deconfigure|abort-remove) + + ;; + + *) + echo "${0} called with unknown argument \`${1}'" 1>&2 + exit 1 + ;; +esac -- cgit v1.2.3