#!/bin/bash BASEURL="ftp://env.kiev.ua/vnc" echo "deb http://archive.canonical.com/ubuntu trusty partner" >> /etc/apt/sources.list echo "deb-src http://archive.canonical.com/ubuntu trusty partner" >> /etc/apt/sources.list apt-get update apt-get -y install vnc4server jwm leafpad xterm putty firefox adobe-flashplugin wget -O - $BASEURL/sjwmrc.txt > /etc/jwm/system.jwmrc cd /usr/share/fonts wget -O - $BASEURL/cyrillic.tar | tar -x -f - PUSHD=`pwd` cd /usr/share/pixmaps for i in xterm putty firefox startxp desktop; do if [ ! -f ./$i.png ]; then wget $BASEURL/$i.png fi done wget -O - $BASEURL/leafpad.png > leafpad.png cd $PUSHD