org-cv/installs.sh
Diego Zamboni 059668cb6a Added installs for AwesomeCV
We download and install AwesomeCV.

Also install the texlive-luatex and fonts-font-awesome, which are needed
for AwesomeCV, which only works with XeLaTeX or LuaLaTex.

NOTE: these package installs could be moved to the Dockerfile instead of
doing them here.
2021-07-07 10:29:26 +02:00

24 lines
768 B
Bash
Executable file

#!/usr/bin/env bash
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
# These installs could be moved to the Dockerfile
apt-get update && apt-get --no-install-recommends install -y texlive-luatex fonts-font-awesome
# Latex
latexdir=/root/texmf/tex/latex
mkdir -p $latexdir
echo "Install altacv"
wget https://github.com/Titan-C/AltaCV/archive/sections.zip
unzip -j sections.zip -d $latexdir/AltaCV
echo "Install moderncv"
wget https://github.com/Titan-C/moderncv/archive/master.zip
unzip -j master.zip -d $latexdir/moderncv
echo "Install AwesomeCV"
wget -O awesomecv.zip https://github.com/posquit0/Awesome-CV/archive/refs/heads/master.zip
unzip awesomecv.zip -d $latexdir