From b0c6f779f1e077aabf35b86f74775e09d006d7c0 Mon Sep 17 00:00:00 2001 From: Tomas Vanagas Date: Sat, 22 Jul 2017 16:47:43 +0100 Subject: [PATCH] Logging Made logging for troubleshooting. (All logging goes to /tmp) --- install/install.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/install/install.sh b/install/install.sh index 3c58de1..cfd50bf 100755 --- a/install/install.sh +++ b/install/install.sh @@ -178,12 +178,14 @@ else fi #cleaning up -sudo apt-get install -f -y -sudo apt-get autoremove -y -sudo apt-get autoclean -y -sudo apt-get clean -y -sudo apt-get update -sudo apt-get install xterm --yes +rm -f /tmp/fluxionlog.txt +sudo apt-get install -f -y | tee -a /tmp/fluxionlog.txt +sudo apt-get autoremove -y | tee -a /tmp/fluxionlog.txt +sudo apt-get autoclean -y | tee -a /tmp/fluxionlog.txt +sudo apt-get clean -y | tee -a /tmp/fluxionlog.txt +sudo apt-get update | tee -a /tmp/fluxionlog.txt +sudo apt-get install xterm --yes | tee -a /tmp/fluxionlog.txt +sleep 3 clear mostrarheader xterm $HOLD -title "Updating System" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install software-properties-common --yes