fix paths to systemd files

This commit is contained in:
Matthew Saunders Brown 2022-10-21 14:43:49 -07:00
parent 980574bdc1
commit f9bbdeddc2

View File

@ -83,15 +83,15 @@ if ! diff -q libexec/command-not-found-handle /usr/local/libexec/command-not-fou
fi fi
# check systemd timer for update # check systemd timer for update
if ! diff -q systemd/webalizer.service /usr/lib/systemd/system/webalizer.service ; then if ! diff -q systemd/webalizer.service /usr/local/lib/systemd/system/webalizer.service ; then
cp systemd/webalizer.service /usr/lib/systemd/system/webalizer.service cp systemd/webalizer.service /usr/local/lib/systemd/system/webalizer.service
chmod 644 /usr/lib/systemd/system/webalizer.service chmod 644 /usr/local/lib/systemd/system/webalizer.service
echo "systemd/webalizer.service updated" echo "systemd/webalizer.service updated"
echo echo
fi fi
if ! diff -q systemd/webalizer.timer /usr/lib/systemd/system/webalizer.timer ; then if ! diff -q systemd/webalizer.timer /usr/local/lib/systemd/system/webalizer.timer ; then
cp systemd/webalizer.timer /usr/lib/systemd/system/webalizer.timer cp systemd/webalizer.timer /usr/local/lib/systemd/system/webalizer.timer
chmod 644 /usr/lib/systemd/system/webalizer.timer chmod 644 /usr/local/lib/systemd/system/webalizer.timer
echo "systemd/webalizer.timer updated" echo "systemd/webalizer.timer updated"
echo echo
fi fi