Fix build.sh for multiple package managers

rust
Elnu 2 years ago
parent 529477bc01
commit 400d5be4c9

@ -1,3 +1,4 @@
#!/bin/bash
git pull;
`which hugo` && find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \;
hugo || /home/linuxbrew/.linuxbrew/bin/hugo
find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \;

Loading…
Cancel
Save