Update scripts/hero_mdbook.sh

added line to properly install mdbook
This commit is contained in:
mik-tf 2024-02-22 15:04:48 +00:00
parent e100099146
commit 0bb32748b9

View File

@ -26,6 +26,7 @@ apt-get install -y lsb-release gpg
curl https://sh.rustup.rs -sSf | sh -s -- -y curl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env" source "$HOME/.cargo/env"
export PATH=$PATH:/root/.cargo/bin export PATH=$PATH:/root/.cargo/bin
/root/.cargo/bin/cargo install mdbook
curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list
apt-get update apt-get update