aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-03-15 22:24:20 +0000
committerAdam Spragg <adam@spra.gg>2022-03-15 22:24:20 +0000
commitb673da10dbaab2a5109ca292c23260c0f643a3f5 (patch)
tree589866c790f547c9ac1ca8250d25b09388e82d55
parentcbc2e687e49dbfb796cf39211f8d6fdde2946987 (diff)
Force creation of adu-upgrade.service symlink
So that an existing installation doesn't cause a new one to fail
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
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