Enhance installation script: more verbose and add update tex databse with texhash command
This commit is contained in:
parent
0dc0873771
commit
f4b4738825
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user