From 94de43cf549f20c9590ea8ded33498f2afc0e26e Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Wed, 8 Sep 2010 23:34:50 +0200 Subject: [PATCH] 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. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index eb79284..926bdc1 100644 --- a/Makefile +++ b/Makefile @@ -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/