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

set -e

#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