absolute urls

master
Matthew Huntington 1 year ago
parent f6d4e353d1
commit 4f00b07172

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

Loading…
Cancel
Save