Update repository and log upgrade

parent 3dc2893e
......@@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
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`" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment