mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 23:40:16 +01:00
build: fix installing network-online.target for existing link
When reinstalling NM on the same location, it would fail with
Making install in data
make[1]: Entering directory `/home/data/src/NetworkManager/data'
make[2]: Entering directory `/home/data/src/NetworkManager/data'
install -d /opt/test/lib/systemd/system/network-online.target.wants
ln -s /opt/test/lib/systemd/system/NetworkManager-wait-online.service /opt/test/lib/systemd/system/network-online.target.wants
ln: failed to create symbolic link ‘/opt/test/lib/systemd/system/network-online.target.wants/NetworkManager-wait-online.service’: File exists
make[2]: *** [install-exec-local] Error 1
https://bugzilla.gnome.org/show_bug.cgi?id=728965
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
070e19dc31
commit
16d34bfe82
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ $(service_DATA): $(service_in_files) Makefile
|
|||
|
||||
install-exec-local:
|
||||
install -d $(DESTDIR)$(systemdsystemunitdir)/network-online.target.wants
|
||||
ln -s $(systemdsystemunitdir)/NetworkManager-wait-online.service $(DESTDIR)$(systemdsystemunitdir)/network-online.target.wants
|
||||
ln -sf $(systemdsystemunitdir)/NetworkManager-wait-online.service $(DESTDIR)$(systemdsystemunitdir)/network-online.target.wants
|
||||
endif
|
||||
|
||||
examplesdir = $(docdir)/examples
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue