#!/bin/bash path=/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