#
install-hooks:
for i in roles/* ; do if [ -f $$i ]; then cp $$i ${prefix}/etc/xen-tools/role.d; fi ; done
- for i in ${prefix}/usr/lib/xen-tools/*.d; do if [ -L "$$i" ]; then rm -vf "$$i"; fi; done
- mkdir -p ${prefix}/usr/lib/xen-tools/centos-4.d/
- mkdir -p ${prefix}/usr/lib/xen-tools/centos-5.d/
- mkdir -p ${prefix}/usr/lib/xen-tools/centos-6.d/
- mkdir -p ${prefix}/usr/lib/xen-tools/fedora-core-6.d/
- cp -R hooks/centos-4/*-* ${prefix}/usr/lib/xen-tools/centos-4.d
- cp -R hooks/centos-5/*-* ${prefix}/usr/lib/xen-tools/centos-5.d
- cp -R hooks/centos-6/*-* ${prefix}/usr/lib/xen-tools/centos-6.d
- cp -R hooks/fedora-core-6/*-* ${prefix}/usr/lib/xen-tools/fedora-core-6.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-7.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-8.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-9.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-10.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-11.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-12.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-13.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-14.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-15.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-16.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s fedora-core-6.d fedora-core-17.d
- mkdir -p ${prefix}/usr/lib/xen-tools/debian.d/
- cp -R hooks/debian/*-* ${prefix}/usr/lib/xen-tools/debian.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d sarge.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d etch.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d lenny.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d squeeze.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d wheezy.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d jessie.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d sid.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d testing.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s debian.d stable.d
- mkdir -p ${prefix}/usr/lib/xen-tools/gentoo.d/
- cp -R hooks/gentoo/*-* ${prefix}/usr/lib/xen-tools/gentoo.d
- mkdir -p ${prefix}/usr/lib/xen-tools/dapper.d/
- cp -R hooks/dapper/*-* ${prefix}/usr/lib/xen-tools/dapper.d/
- mkdir -p ${prefix}/usr/lib/xen-tools/edgy.d/
- cp -R hooks/edgy/*-* ${prefix}/usr/lib/xen-tools/edgy.d/
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s edgy.d feisty.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s edgy.d gutsy.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s edgy.d hardy.d
- mkdir -p ${prefix}/usr/lib/xen-tools/intrepid.d/
- cp -R hooks/intrepid/*-* ${prefix}/usr/lib/xen-tools/intrepid.d/
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s intrepid.d jaunty.d
- mkdir -p ${prefix}/usr/lib/xen-tools/karmic.d/
- cp -R hooks/karmic/*-* ${prefix}/usr/lib/xen-tools/karmic.d/
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d lucid.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d maverick.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d natty.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d oneiric.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d precise.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d quantal.d
- -cd ${prefix}/usr/lib/xen-tools/ && ln -s karmic.d raring.d
- cp hooks/common.sh ${prefix}/usr/lib/xen-tools
- cp -r hooks/common ${prefix}/usr/lib/xen-tools
+ for i in ${prefix}/usr/share/xen-tools/*.d; do if [ -L "$$i" ]; then rm -vf "$$i"; fi; done
+ mkdir -p ${prefix}/usr/share/xen-tools/centos-4.d/
+ mkdir -p ${prefix}/usr/share/xen-tools/centos-5.d/
+ mkdir -p ${prefix}/usr/share/xen-tools/centos-6.d/
+ mkdir -p ${prefix}/usr/share/xen-tools/fedora-core-6.d/
+ cp -R hooks/centos-4/*-* ${prefix}/usr/share/xen-tools/centos-4.d
+ cp -R hooks/centos-5/*-* ${prefix}/usr/share/xen-tools/centos-5.d
+ cp -R hooks/centos-6/*-* ${prefix}/usr/share/xen-tools/centos-6.d
+ cp -R hooks/fedora-core-6/*-* ${prefix}/usr/share/xen-tools/fedora-core-6.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-4.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-5.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-7.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-8.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-9.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-10.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-11.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-12.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-13.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-14.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-15.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-16.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s fedora-core-6.d fedora-core-17.d
+ mkdir -p ${prefix}/usr/share/xen-tools/debian.d/
+ cp -R hooks/debian/*-* ${prefix}/usr/share/xen-tools/debian.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d sarge.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d etch.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d lenny.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d squeeze.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d wheezy.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d jessie.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d sid.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d testing.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s debian.d stable.d
+ mkdir -p ${prefix}/usr/share/xen-tools/gentoo.d/
+ cp -R hooks/gentoo/*-* ${prefix}/usr/share/xen-tools/gentoo.d
+ mkdir -p ${prefix}/usr/share/xen-tools/dapper.d/
+ cp -R hooks/dapper/*-* ${prefix}/usr/share/xen-tools/dapper.d/
+ mkdir -p ${prefix}/usr/share/xen-tools/edgy.d/
+ cp -R hooks/edgy/*-* ${prefix}/usr/share/xen-tools/edgy.d/
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s edgy.d feisty.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s edgy.d gutsy.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s edgy.d hardy.d
+ mkdir -p ${prefix}/usr/share/xen-tools/intrepid.d/
+ cp -R hooks/intrepid/*-* ${prefix}/usr/share/xen-tools/intrepid.d/
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s intrepid.d jaunty.d
+ mkdir -p ${prefix}/usr/share/xen-tools/karmic.d/
+ cp -R hooks/karmic/*-* ${prefix}/usr/share/xen-tools/karmic.d/
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d lucid.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d maverick.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d natty.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d oneiric.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d precise.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d quantal.d
+ -cd ${prefix}/usr/share/xen-tools/ && ln -s karmic.d raring.d
+ cp hooks/common.sh ${prefix}/usr/share/xen-tools
+ cp -r hooks/common ${prefix}/usr/share/xen-tools
#
-rm -rf ${prefix}/etc/xen-tools/skel
-rmdir ${prefix}/etc/xen-tools/
-rm -f ${prefix}/etc/bash_completion.d/xen-tools
+ # Maybe needed to remove older releases of xen-tools
rm -rf ${prefix}/usr/lib/xen-tools
+ rm -rf ${prefix}/usr/share/xen-tools
rm -f ${prefix}/usr/share/man/man8/xen-create-image.8.gz
rm -f ${prefix}/usr/share/man/man8/xen-delete-image.8.gz
rm -f ${prefix}/usr/share/man/man8/xen-list-images.8.gz
Maybe add some `--autostart` or such.
* Maybe replace findBinary with File::Which
-
-* Move /usr/lib/xen-tools/ to /usr/share/xen-tools/ as all file in
- there are either shell or perl scripts.
message => "takes a suffixed integer.\n",
},
distribution => {
- check => sub { -d "/usr/lib/xen-tools/$_[0].d" },
+ check => sub { -d "/usr/share/xen-tools/$_[0].d" },
message => "takes a distribution name " .
- "(see /usr/lib/xen-tools for valid values).\n",
+ "(see /usr/share/xen-tools for valid values).\n",
},
imageType => {
check => qr/^sparse|full$/,
the --location option.
For the distribution named 'foo' the scripts will be loaded and
- executed from '/usr/lib/xen-tools/foo.d'. Each executable will
+ executed from '/usr/share/xen-tools/foo.d'. Each executable will
be loaded and executed in sorted order.
=cut
# If there are no scripts then we clearly cannot
# customise it!
#
- my $dir = "/usr/lib/xen-tools/" . $CONFIG{ 'dist' } . ".d";
+ my $dir = "/usr/share/xen-tools/" . $CONFIG{ 'dist' } . ".d";
if ( !-d $dir )
{
#
# Hook directory.
#
- my $hooks = "/usr/lib/xen-tools/" . $CONFIG{ 'dist' } . ".d/";
+ my $hooks = "/usr/share/xen-tools/" . $CONFIG{ 'dist' } . ".d/";
#
# Installation prefix
# If there are no scripts then we clearly cannot
# customise it!
#
- my $dir = "/usr/lib/xen-tools/" . $CONFIG{ 'dist' } . ".d";
+ my $dir = "/usr/share/xen-tools/" . $CONFIG{ 'dist' } . ".d";
if ( !-d $dir )
{
environment variable names are from now on converted to underscores
("_") before being exported. May affect some hook or role scripts.
- -- Axel Beckert <abe@debian.org> Wed, 13 Mar 2013 23:22:20 +0100
+ * /usr/lib/xen-tools/ has been moved to /usr/share/xen-tools/ to
+ properly adhere to FHS. In case you had local scripts added to
+ /usr/lib/xen-tools/, please move them to /usr/share/xen-tools/, too
+ and then remove /usr/lib/xen-tools/ and its left-over subdirectories
+ which all should be empty at that point, i.e. "rmdir -p
+ /usr/lib/xen-tools/*" should do the trick.
+
+ -- Axel Beckert <abe@debian.org> Fri, 05 Apr 2013 20:19:02 +0200
xen-tools (4.2~rc1-1) unstable; urgency=low
* New upstream release
- Code deduplication to unify the xen-*-image scripts
+ - Moves /usr/lib/xen-tools/ to /usr/share/xen-tools/
- Use http.debian.net as default Debian mirror if no mirror is given
and xt-guess-suite-and-mirror is not used.
- Fix symbolic link hooks/centos-6/15-setup-arch (Closes: #690299)
/etc/xen-tools
/etc/xen-tools/role.d
/etc/xen-tools/skel
-/usr/lib/xen-tools
\ No newline at end of file
+/usr/share/xen-tools
\ No newline at end of file
* The installation will have a running installation of OpenSSH
The subdirectories in this hooks/ directory will be installed
- to the directory /usr/lib/xen-tools/
+ to the directory /usr/share/xen-tools/
Steve
--
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
# Available distributions, by which we mean distributions which
# we have hook scripts available.
#
- for i in `/bin/ls -1 /usr/lib/xen-tools/ ` ; do
- if [ -d /usr/lib/xen-tools/${i} ]; then
+ for i in `/bin/ls -1 /usr/share/xen-tools/ ` ; do
+ if [ -d /usr/share/xen-tools/${i} ]; then
dists="${dists} ${i/.d/}"
fi
done
/etc/bash_completion.d/*
/usr/bin/*
/usr/share/man/man8/*
-/usr/lib/xen-tools
+/usr/share/xen-tools
%changelog
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Source our common functions - this will let us install a Debian package.
#
-if [ -e /usr/lib/xen-tools/common.sh ]; then
- . /usr/lib/xen-tools/common.sh
+if [ -e /usr/share/xen-tools/common.sh ]; then
+ . /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi