1
0
mirror of synced 2026-01-14 23:45:13 +00:00

make install: Fix broken reinstallation by removing all /usr/lib/xen-tools/*.d symlinks before creating new ones.

Thanks to Roland Giesler for noticing and reporting this bug.
This commit is contained in:
Axel Beckert 2010-09-08 23:34:50 +02:00
parent 397299ed0a
commit 94de43cf54

View File

@ -145,6 +145,7 @@ install-bin:
#
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/fedora-core-6.d/