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
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/
echo "Creating necessary path $path ..."
sudo mkdir -p $path
echo -e "\nCreating necessary path $path ..."
mkdir -p $path
echo "Copying .sty-Files ..."
sudo cp ./beamercolorthemeNik.sty $path
sudo cp ./beamerfontthemeNik.sty $path
sudo cp ./beamerthemeNik.sty $path
echo -e "\nCopying .sty-Files ..."
cp ./beamercolorthemeNik.sty $path
cp ./beamerfontthemeNik.sty $path
cp ./beamerthemeNik.sty $path
echo "Refreshing TeX Database ..."
sudo texhash
echo -e "\nRefreshing TeX Database ..."
texhash > /dev/null