From a7137ff1bf501275f12585335cf3c3da207752b8 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 20 Dec 2023 10:12:56 -0800 Subject: [PATCH] fix paths to install files --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 4296d0e..cc8b2df 100755 --- a/install.sh +++ b/install.sh @@ -20,16 +20,16 @@ cp etc/bash_completion.d/wp-cli /etc/bash_completion.d/ chmod 644 /etc/bash_completion.d/wp-cli # install wp user scripts -cp etc/bin/wp-* /usr/local/bin +cp local/bin/wp-* /usr/local/bin chmod 755 /usr/local/bin/wp-* # install & enable wp systemd cron -cp etc/sbin/wp-cron.sh /usr/local/sbin/ +cp local/sbin/wp-cron.sh /usr/local/sbin/ chmod 755 /usr/local/sbin/wp-cron.sh if [[ ! -d /usr/local/lib/systemd/system ]]; then mkdir -p /usr/local/lib/systemd/system fi -cp etc/systemd/wp-cron.* /usr/local/lib/systemd/system/ +cp local/systemd/wp-cron.* /usr/local/lib/systemd/system/ chmod 644 /usr/local/lib/systemd/system/wp-cron.* systemctl enable wp-cron.timer systemctl start wp-cron.timer