Clean up pandoc temporary files

This commit is contained in:
Stan Hu 2018-10-11 16:03:05 -07:00
parent 70b82795c9
commit f7494711f6

View file

@ -12,9 +12,11 @@ apt-get install -yq --no-install-recommends \
texlive-fonts-recommended lmodern ed file curl gnupg2 texlive-fonts-recommended lmodern ed file curl gnupg2
# Install pandoc v2.3.1 # Install pandoc v2.3.1
cd /tmp
curl -L -O https://github.com/jgm/pandoc/releases/download/2.3.1/pandoc-2.3.1-linux.tar.gz curl -L -O https://github.com/jgm/pandoc/releases/download/2.3.1/pandoc-2.3.1-linux.tar.gz
tar xvf pandoc-2.3.1-linux.tar.gz tar xvf pandoc-2.3.1-linux.tar.gz
cp pandoc-2.3.1/bin/* /usr/local/bin cp pandoc-2.3.1/bin/* /usr/local/bin
rm -rf /tmp/pandoc*
# Set UTF-8 # Set UTF-8
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen echo "en_US.UTF-8 UTF-8" > /etc/locale.gen