org-cv/installs.sh

25 lines
863 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
latexdir=/root/texmf/tex/latex
2018-05-01 16:22:50 +00:00
echo "Install altacv"
wget https://github.com/Titan-C/AltaCV/archive/sections.zip
unzip -j sections.zip -d $latexdir/AltaCV
2018-05-01 16:51:00 +00:00
echo "Install moderncv"
wget https://github.com/Titan-C/moderncv/archive/master.zip
unzip -j master.zip -d $latexdir/moderncv
2018-05-01 16:22:50 +00:00
echo "Install fontawesome for latex"
fontdir=$latexdir/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