#! /bin/bash # exit if a command failsset -e # install full texlive distributionapt-get update && apt-get install -y texlive-full # cleanup package managerapt-get autoclean && apt-get cleanrm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # prepare dirmkdir /source
#! /bin/bash
# exit if a command fails
set -e
# install full texlive distribution
apt-get update && apt-get install -y texlive-full
# cleanup package manager
apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# prepare dir
mkdir /source