From 8a146a251ecec02a731e996018679d3cec59ca03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Tue, 1 May 2018 18:22:50 +0200 Subject: [PATCH] organize installs --- installs.sh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/installs.sh b/installs.sh index ef38fc4..895be6a 100755 --- a/installs.sh +++ b/installs.sh @@ -1,15 +1,19 @@ #!/usr/bin/env bash +apt-get update && apt install -y fonts-font-awesome wget https://github.com/gohugoio/hugo/releases/download/v0.39/hugo_0.39_Linux-64bit.deb dpkg -i hugo*.deb + +echo "Installed Hugo:" hugo version # Latex -apt-get update && apt install -y fonts-font-awesome -git clone https://github.com/Titan-C/AltaCV.git /root/texmf-dist/tex/latex/AltaCV -wget http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty -wget http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesomesymbols-generic.tex -wget http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesomesymbols-pdftex.tex +echo "Install altacv" +git clone https://github.com/Titan-C/AltaCV.git /root/texmf/tex/latex/AltaCV +echo "Install fontawesome for latex" +fontdir = /root/texmf/tex/latex/fontawesome/ +mkdir -p $fontdir -emacs --batch --load /tmp/install-org.el -cd org-cv-exports; latex -pdf altacv.org.tex +wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty +wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesomesymbols-generic.tex +wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesomesymbols-pdftex.tex