mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
builder: Allow 'make install' to be run twice.
The error is: ln -s xdg/virt-builder /tmp/p/etc/virt-builder ln: failed to create symbolic link '/etc/virt-builder/virt-builder': File exists There is no 'LN_SF' macro, but according to the documentation at least, it should be safe to add a '-f' flag since it will work for both the 'ln' and 'cp' variants of the macro.
This commit is contained in:
@@ -320,7 +320,7 @@ repoconf_DATA = libguestfs.conf libguestfs.gpg \
|
||||
opensuse.conf opensuse.gpg
|
||||
|
||||
install-exec-hook:
|
||||
$(LN_S) xdg/virt-builder $(DESTDIR)$(sysconfdir)/virt-builder
|
||||
$(LN_S) -f xdg/virt-builder $(DESTDIR)$(sysconfdir)/virt-builder
|
||||
|
||||
# Build a small C index validator program.
|
||||
bin_PROGRAMS += virt-index-validate
|
||||
|
||||
Reference in New Issue
Block a user