#!/bin/sh

set -e

# Everyone rejected my repeated requests saying it was useless, so I will do it
# in this package, because I'm tired that Debian has no support for the
# standard path that works EVERYWHERE ELSE, then creating compatibility
# and versionning issues when the solution is so obvious.
# 1/ If someone do not agree with the following, then please start a discussion
# with your motivated arguments against this on debian-devel@l.d.o.
# 2/ If someone claims that this should be made in another package, I do agree.
# But then convince the other maintainers that are maintaining the
# hypervisor, not me, I do agree with that point.
# In the mean time, I'll put this in all packages I believe need access to the
# standard path.
if ! [ -e /usr/lib/xen ] ; then
	ln -s /etc/alternatives/xen-default /usr/lib/xen
fi

exit 0
