diff --git a/build.sh b/build.sh index ee88daf..e0ba717 100755 --- a/build.sh +++ b/build.sh @@ -19,7 +19,7 @@ if [ $(uname) == "Darwin" ]; then && rm -rf ./mdslides-*/ ) else ./mdbook --version || curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xvzf - - dot --version || ( apt-get update -y && apt-get install -y graphviz ) + dot --version || ( curl -ssL https://github.com/restruct/dot-static/raw/refs/heads/master/x64/dot_static -o ./dot && chmod a+x ./dot ) ./mdbook-graphviz --version || ( curl -sSL https://github.com/dylanowen/mdbook-graphviz/releases/download/v0.2.1/mdbook-graphviz_v0.2.1_x86_64-unknown-linux-musl.zip -o mdbook-graphviz.zip \ && unzip mdbook-graphviz.zip \ && rm mdbook-graphviz.zip \