forked from mirrors/org-cv
organize installs
This commit is contained in:
parent
8d077c14ea
commit
8a146a251e
1 changed files with 11 additions and 7 deletions
18
installs.sh
18
installs.sh
|
@ -1,15 +1,19 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
apt-get update && apt 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
|
||||||
|
|
||||||
|
echo "Installed Hugo:"
|
||||||
hugo version
|
hugo version
|
||||||
|
|
||||||
# Latex
|
# Latex
|
||||||
apt-get update && apt install -y fonts-font-awesome
|
echo "Install altacv"
|
||||||
git clone https://github.com/Titan-C/AltaCV.git /root/texmf-dist/tex/latex/AltaCV
|
git clone https://github.com/Titan-C/AltaCV.git /root/texmf/tex/latex/AltaCV
|
||||||
wget http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty
|
echo "Install fontawesome for latex"
|
||||||
wget http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesomesymbols-generic.tex
|
fontdir = /root/texmf/tex/latex/fontawesome/
|
||||||
wget http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesomesymbols-pdftex.tex
|
mkdir -p $fontdir
|
||||||
|
|
||||||
emacs --batch --load /tmp/install-org.el
|
wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty
|
||||||
cd org-cv-exports; latex -pdf altacv.org.tex
|
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
|
||||||
|
|
Loading…
Reference in a new issue