diff --git a/beamer/install_beamer_theme.sh b/beamer/install_beamer_theme.sh index 4293a46..0f49f3c 100755 --- a/beamer/install_beamer_theme.sh +++ b/beamer/install_beamer_theme.sh @@ -1,7 +1,14 @@ #!/bin/bash -sudo mkdir -p /usr/local/share/texmf/tex/latex/beamerthemeNik/ +path=/usr/local/share/texmf/tex/latex/beamerthemeNik/ -sudo cp ./beamercolorthemeNik.sty /usr/local/share/texmf/tex/latex/beamerthemeNik/ -sudo cp ./beamerfontthemeNik.sty /usr/local/share/texmf/tex/latex/beamerthemeNik/ -sudo cp ./beamerthemeNik.sty /usr/local/share/texmf/tex/latex/beamerthemeNik/ +echo "Creating necessary path $path ..." +sudo mkdir -p $path + +echo "Copying .sty-Files ..." +sudo cp ./beamercolorthemeNik.sty $path +sudo cp ./beamerfontthemeNik.sty $path +sudo cp ./beamerthemeNik.sty $path + +echo "Refreshing TeX Database ..." +sudo texhash