diff --git a/beamer/install_beamer_theme.sh b/beamer/install_beamer_theme.sh index 0f49f3c..95ea285 100755 --- a/beamer/install_beamer_theme.sh +++ b/beamer/install_beamer_theme.sh @@ -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