diff --git a/upgrade-session.sh b/upgrade-session.sh index 2b2e5f732a408c849928ac7cb559ccd3aab3a666..0ef8d3ca7048de73e6dd33d09da662172952fdce 100755 --- a/upgrade-session.sh +++ b/upgrade-session.sh @@ -16,6 +16,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +logfile="/var/log/`basename $0`_`date +%Y%m%d-%H%M`" +exec &> >(tee -a "$logfile") + DIR=`dirname $0` if [ ! -z "$1" ] && [ "$1" == "apt" ] @@ -36,6 +39,7 @@ $DIR/set_screens.sh $DIR/install_print_drivers.sh $DIR/fix_libreoffice.sh $DIR/install_vnc.sh +$DIR/upgrade_repository.sh # Install missing libreoffice gtk if [ -z "`dpkg -l | grep libreoffice-gtk`" ]