diff --git a/check_pvpr.sh b/check_pvpr.sh index 0cd119e..47921b2 100755 --- a/check_pvpr.sh +++ b/check_pvpr.sh @@ -1,7 +1,7 @@ #!/bin/zsh -mv index.html index_old.html -wget --no-check-certificate https://pvpr.com/ -sitediff=$(diff index.html index_old.html | grep "images\/program") +mv /home/matt/drive/deployments/pvpr-checker/index.html /home/matt/drive/deployments/pvpr-checker/index_old.html +wget --no-check-certificate -O /home/matt/drive/deployments/pvpr-checker/index.html https://pvpr.com/ +sitediff=$(diff /home/matt/drive/deployments/pvpr-checker/index.html /home/matt/drive/deployments/pvpr-checker/index_old.html | grep "images\/program") echo ${#sitediff} if [[ ${#sitediff} -gt 0 ]] then