org-cv/installs.sh

22 lines
798 B
Bash
Raw Normal View History

2018-05-01 16:14:16 +00:00
#!/usr/bin/env bash
2018-05-01 16:29:34 +00:00
apt-get update && apt-get install -y fonts-font-awesome
2018-05-01 16:14:16 +00:00
wget https://github.com/gohugoio/hugo/releases/download/v0.39/hugo_0.39_Linux-64bit.deb
dpkg -i hugo*.deb
2018-05-01 16:22:50 +00:00
echo "Installed Hugo:"
2018-05-01 16:14:16 +00:00
hugo version
# Latex
2018-05-01 16:22:50 +00:00
echo "Install altacv"
git clone https://github.com/Titan-C/AltaCV.git /root/texmf/tex/latex/AltaCV
2018-05-01 16:51:00 +00:00
echo "Install moderncv"
git clone https://github.com/Titan-C/moderncv.git /root/texmf/tex/latex/moderncv
2018-05-01 16:22:50 +00:00
echo "Install fontawesome for latex"
2018-05-01 16:29:34 +00:00
fontdir=/root/texmf/tex/latex/fontawesome/
2018-05-01 16:22:50 +00:00
mkdir -p $fontdir
2018-05-01 16:14:16 +00:00
2018-05-01 16:22:50 +00:00
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