fix paths to systemd files
This commit is contained in:
parent
980574bdc1
commit
f9bbdeddc2
12
update.sh
12
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user