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:
parent
397299ed0a
commit
94de43cf54
1
Makefile
1
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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user