From f9bbdeddc2cc4a03281a3f6664a464867190fa86 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 21 Oct 2022 14:43:49 -0700 Subject: [PATCH] fix paths to systemd files --- update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/update.sh b/update.sh index 6ea05ce..42b54ca 100755 --- a/update.sh +++ b/update.sh @@ -83,15 +83,15 @@ if ! diff -q libexec/command-not-found-handle /usr/local/libexec/command-not-fou fi # check systemd timer for update -if ! diff -q systemd/webalizer.service /usr/lib/systemd/system/webalizer.service ; then - cp systemd/webalizer.service /usr/lib/systemd/system/webalizer.service - chmod 644 /usr/lib/systemd/system/webalizer.service +if ! diff -q systemd/webalizer.service /usr/local/lib/systemd/system/webalizer.service ; then + cp systemd/webalizer.service /usr/local/lib/systemd/system/webalizer.service + chmod 644 /usr/local/lib/systemd/system/webalizer.service echo "systemd/webalizer.service updated" echo fi -if ! diff -q systemd/webalizer.timer /usr/lib/systemd/system/webalizer.timer ; then - cp systemd/webalizer.timer /usr/lib/systemd/system/webalizer.timer - chmod 644 /usr/lib/systemd/system/webalizer.timer +if ! diff -q systemd/webalizer.timer /usr/local/lib/systemd/system/webalizer.timer ; then + cp systemd/webalizer.timer /usr/local/lib/systemd/system/webalizer.timer + chmod 644 /usr/local/lib/systemd/system/webalizer.timer echo "systemd/webalizer.timer updated" echo fi