#!/bin/sh

set -e

# Automatically added by dh_installdeb/13.28
dpkg-maintscript-helper rm_conffile /etc/init.d/virtualbox-guest-x11 5.0.12-dfsg-2\~ -- "$@"
# End automatically added section


case "$1" in
  install|upgrade)
	if dpkg --compare-versions "$2" gt "4.1.22-dfsg" && dpkg --compare-versions "$2" lt "4.2.10-dfsg"; then
		# hack to change runlevels from default to S
		update-rc.d -f virtualbox-guest-x11 remove > /dev/null || true
	fi
  ;;
esac
