diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 03:01:54 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 03:01:54 +0000 |
commit | 0494175483c2d82f445ddca9cadb6ee6338e9f9c (patch) | |
tree | 336364dc245983722e34439ece449564e77ca286 /debian/virtualbox-guest-x11.postinst | |
parent | Adding upstream version 6.0.4-dfsg. (diff) | |
download | virtualbox-0494175483c2d82f445ddca9cadb6ee6338e9f9c.tar.xz virtualbox-0494175483c2d82f445ddca9cadb6ee6338e9f9c.zip |
Adding debian version 6.0.4-dfsg-7.debian/6.0.4-dfsg-7debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/virtualbox-guest-x11.postinst | 36 |
1 files changed, 36 insertions, 0 deletions
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 + |