fontawesome for latex should be in the docker container

This commit is contained in:
Óscar Nájera 2018-05-01 22:32:19 +02:00
parent 97648224ef
commit e8542bbed6

View file

@ -1,6 +1,5 @@
#!/usr/bin/env bash #!/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 wget https://github.com/gohugoio/hugo/releases/download/v0.39/hugo_0.39_Linux-64bit.deb
dpkg -i hugo*.deb dpkg -i hugo*.deb
@ -15,10 +14,3 @@ unzip -j sections.zip -d $latexdir/AltaCV
echo "Install moderncv" echo "Install moderncv"
wget https://github.com/Titan-C/moderncv/archive/master.zip wget https://github.com/Titan-C/moderncv/archive/master.zip
unzip -j master.zip -d $latexdir/moderncv unzip -j master.zip -d $latexdir/moderncv
echo "Install fontawesome for latex"
fontdir=$latexdir/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