From 0494175483c2d82f445ddca9cadb6ee6338e9f9c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 05:01:54 +0200 Subject: Adding debian version 6.0.4-dfsg-7. Signed-off-by: Daniel Baumann --- debian/virtualbox-guest-x11.postinst | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 debian/virtualbox-guest-x11.postinst (limited to 'debian/virtualbox-guest-x11.postinst') diff --git a/debian/virtualbox-guest-x11.postinst b/debian/virtualbox-guest-x11.postinst new file mode 100644 index 00000000..9133ec85 --- /dev/null +++ b/debian/virtualbox-guest-x11.postinst @@ -0,0 +1,36 @@ +#!/bin/sh + +set -e + +#ARCH=`dpkg --print-architecture` + +#if [ "$1" = "configure" ]; then +# +# if [ "$ARCH" = "amd64" ]; then +# update-alternatives --force \ +# --install /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf x86_64-linux-gnu_gl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf 8605 +# +# update-alternatives --force \ +# --install /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf x86_64-linux-gnu_egl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf 8605 +# else +# update-alternatives --force \ +# --install /etc/ld.so.conf.d/i386-linux-gnu_GL.conf i386-linux-gnu_gl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf 8605 +# +# update-alternatives --force \ +# --install /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf i386-linux-gnu_egl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf 8605 +# fi +# +# ldconfig +#fi + +#DEBHELPER# + +# remove stale virtualbox-guest-x11 links +case "$1" in + configure) + if dpkg --compare-versions "$2" lt "5.0.12-dfsg-2~" ; then + update-rc.d -f virtualbox-guest-x11 remove > /dev/null || true + fi + ;; +esac + -- cgit v1.2.3