Enhance installation script: install fonts

This commit is contained in:
Niklas Birk 2022-05-17 21:42:54 +02:00
parent f4b4738825
commit bfae2528b9

View File

@ -1,14 +1,17 @@
#!/bin/bash #!/bin/bash
echo "Install necessary fonts ..."
apt-get install fonts-yanone-kaffeesatz fonts-sil-andikanewbasic fonts-firacode > /dev/null
path=/usr/local/share/texmf/tex/latex/beamerthemeNik/ path=/usr/local/share/texmf/tex/latex/beamerthemeNik/
echo "Creating necessary path $path ..." echo -e "\nCreating necessary path $path ..."
sudo mkdir -p $path mkdir -p $path
echo "Copying .sty-Files ..." echo -e "\nCopying .sty-Files ..."
sudo cp ./beamercolorthemeNik.sty $path cp ./beamercolorthemeNik.sty $path
sudo cp ./beamerfontthemeNik.sty $path cp ./beamerfontthemeNik.sty $path
sudo cp ./beamerthemeNik.sty $path cp ./beamerthemeNik.sty $path
echo "Refreshing TeX Database ..." echo -e "\nRefreshing TeX Database ..."
sudo texhash texhash > /dev/null