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