From b673da10dbaab2a5109ca292c23260c0f643a3f5 Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Tue, 15 Mar 2022 22:24:20 +0000 Subject: Force creation of adu-upgrade.service symlink So that an existing installation doesn't cause a new one to fail --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 9715ee5..b128988 100644 --- a/makefile +++ b/makefile @@ -31,7 +31,7 @@ install: install -m 644 -t '$(SYSDDIR)' adu-download.service install -m 644 -t '$(SYSDDIR)' adu-download.timer install -m 644 -t '$(SYSDDIR)' adu-upgrade.service - ln -s '$(SYSDDIR)/adu-upgrade.service' '$(SYSDDIR)/system-update.target.wants/adu-upgrade.service' + ln -sf '$(SYSDDIR)/adu-upgrade.service' '$(SYSDDIR)/system-update.target.wants/adu-upgrade.service' systemctl daemon-reload #systemctl --now preset adu-download.timer systemctl --now enable adu-download.timer -- cgit v1.2.1