#!/bin/sh set -e # # Skip, if we are not in "configure" state # if [ "$1" != "upgrade" ]; then exit 0 fi # # 2.x -> 3.x # if [ -L "/usr/lib/xen-tools/dapper.d" ]; then rm /usr/lib/xen-tools/dapper.d fi if [ -L "/usr/lib/xen-tools/edgy.d" ]; then rm /usr/lib/xen-tools/edgy.d fi if [ -d "/usr/lib/xen-tools/ubuntu.d" ]; then rm -r /usr/lib/xen-tools/ubuntu.d fi # # 4.1 -> 4.2 # if [ -L "/usr/lib/xen-tools/intrepid.d" ]; then rm /usr/lib/xen-tools/intrepid.d fi if [ -L "/usr/lib/xen-tools/karmic.d" ]; then rm /usr/lib/xen-tools/karmic.d fi # Automatically added by dh_installdeb/13.11.4 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/xen-tools 4.6.1-1\~ -- "$@" # End automatically added section exit 0