Enhance installation script: more verbose and add update tex databse with texhash command

This commit is contained in:
Niklas Birk 2022-05-17 21:29:18 +02:00
parent 0dc0873771
commit f4b4738825

View File

@ -1,7 +1,14 @@
#!/bin/bash #!/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/ echo "Creating necessary path $path ..."
sudo cp ./beamerfontthemeNik.sty /usr/local/share/texmf/tex/latex/beamerthemeNik/ sudo mkdir -p $path
sudo cp ./beamerthemeNik.sty /usr/local/share/texmf/tex/latex/beamerthemeNik/
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