Skip to content

Commit

Permalink
fix: do not exit install-exec-hook when symlink already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
vjar committed Sep 15, 2023
1 parent 7bc1ff2 commit b27ab9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dist_libexec_SCRIPTS = macvtap-mknod-targetpid-discovery-podman
dist_noinst_FILES = README.md

install-exec-hook:
ln -s macvtap-mknod-targetpid-discovery-podman $(DESTDIR)$(libexecdir)/macvtap-mknod-targetpid-discovery
ln -s macvtap-mknod-targetpid-discovery-podman $(DESTDIR)$(libexecdir)/macvtap-mknod-targetpid-discovery || true
setcap CAP_MKNOD=p $(DESTDIR)$(bindir)/macvtap-mknod-for-unprivileged-netns

0 comments on commit b27ab9c

Please sign in to comment.