From bfae2528b91f48c57d7a1c066b620d99d3046941 Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 17 May 2022 21:42:54 +0200 Subject: [PATCH] Enhance installation script: install fonts --- beamer/install_beamer_theme.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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