From 400d5be4c906914720c43105ba5dae976580b02a Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 16 Nov 2022 17:57:54 -0800 Subject: [PATCH] Fix build.sh for multiple package managers --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 43ab40d..6ac601d 100755 --- a/build.sh +++ b/build.sh @@ -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 {} {} \;