summaryrefslogtreecommitdiffstats
path: root/debian/virtualbox-guest-x11.prerm
blob: d1ec4419ca5b143fee87f82eab5075b348e7d913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

ARCH=`dpkg --print-architecture`

case "$1" in
	remove)
            update-alternatives --remove x86_64-linux-gnu_gl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf
            update-alternatives --remove x86_64-linux-gnu_egl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf
            update-alternatives --remove i386-linux-gnu_gl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf
            update-alternatives --remove i386-linux-gnu_egl_conf /usr/lib/virtualbox/additions/00vboxvideo.conf
	    ldconfig
	;;

esac
##DEBHELPER##