update git-pre-push hook

This commit is contained in:
Dominic Reich 2024-09-29 19:19:56 +02:00
parent 39bf8330a7
commit 5ddecf4664
Signed by: dominic
GPG key ID: BC9D6AE1A3BE169A

View file

@ -17,7 +17,7 @@ clean_up () {
echo -n ">>> Creating static files with `hugo version | awk '{ print $1,$2 }'`..."
ret="$(hugo --gc --minify --cleanDestinationDir --printPathWarnings --logLevel warn)"
ret="$(hugo --gc --minify --printPathWarnings --logLevel warn)"
# if [ -n "$(echo $ret | grep Total)" ] ; then
if [ "$?" -eq "0" ] ; then