14 lines
271 B

10 years ago
  1. #! /bin/bash
  2. # exit if a command fails
  3. set -e
  4. # install full texlive distribution
  5. apt-get update && apt-get install -y texlive-full
  6. # cleanup package manager
  7. apt-get autoclean && apt-get clean
  8. rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  9. # prepare dir
  10. mkdir /source