This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf-rs/scripts/install-deps.sh

12 lines
310 B
Bash
Executable file

#!/usr/bin/env bash
set -e
mkdir -p lib/
cd lib/
echo "> Downloading Pandoc..."
wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
ar p pandoc-1.19.2.1-1-amd64.deb data.tar.gz | tar xz --strip-components 2 -C .
mv bin/* .
rm -r bin/ share/ pandoc-1.19.2.1-1-amd64.deb