Skip to content
Snippets Groups Projects
Unverified Commit 0dddaadf authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Remove install-aisa.sh

parent df833eb7
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# Installs fibeamer to the faculty texlive-2015 installation
# Clean up
rm -rf /tmp/fibeamer &&
# Prepare the files
mkdir /tmp/fibeamer &&
unzip -d /tmp/fibeamer fibeamer.tds.zip &&
# Transfer the files
cd /tmp && tar czv fibeamer | ssh `aisa` 'sg tex -c '\''
TEXLIVE=/packages/share/texlive-2015/texmf-local
tar xzC /tmp && cd /tmp/fibeamer &&
find /tmp/fibeamer -exec chmod g+w {} + &&
# Replace the currently installed class files
rm -rfv "$TEXLIVE"/tex/latex/fibeamer &&
mv -v tex/latex/fibeamer "$TEXLIVE"/tex/latex &&
# Replace the currently installed documentation
rm -rfv "$TEXLIVE"/doc/latex/fibeamer &&
mv -v doc/latex/fibeamer "$TEXLIVE"/doc/latex &&
# Replace the currently installed source files
rm -rfv "$TEXLIVE"/source/latex/fibeamer &&
mv -v source/latex/fibeamer "$TEXLIVE"/source/latex &&
# Clean up
cd .. && rm -rf fibeamer && texhash
'\' && rm -rf fibeamer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment