#!/bin/bash SITE="ukr.pw" 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 pterm firefox adobe-flashplugin chromium-browser wget -O - http://$SITE/vnc/sjwmrc.txt > /etc/jwm/system.jwmrc cd /usr/share/fonts wget -O - http://$SITE/vnc/cyrillic.tar | tar -x -f - pushd cd /usr/share/pixmaps for i in xterm pterm firefox chromium desktop; do if [ ! -f ./$i.png ]; then wget http://$SITE/vnc/$i.png fi done wget -O - http://$SITE/vnc/leafpad.png > leafpad.png popd