mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-14 18:48:30 +00:00
21 lines
798 B
Bash
Executable file
21 lines
798 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
apt-get update && apt-get 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
|
|
echo "Install altacv"
|
|
git clone https://github.com/Titan-C/AltaCV.git /root/texmf/tex/latex/AltaCV
|
|
echo "Install moderncv"
|
|
git clone https://github.com/Titan-C/moderncv.git /root/texmf/tex/latex/moderncv
|
|
echo "Install fontawesome for latex"
|
|
fontdir=/root/texmf/tex/latex/fontawesome/
|
|
mkdir -p $fontdir
|
|
|
|
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
|