This is a copy of the script we ran on users PC's after they had finished installing Ubuntu at the WLUG InstallFest
#!/bin/bash
echo Updating /etc/apt/sources.list
cat >/etc/apt/sources.list <<EOF
deb http://nz.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://nz.archive.ubuntu.com/ubuntu hoary main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://nz.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://nz.archive.ubuntu.com/ubuntu hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://nz.archive.ubuntu.com/ubuntu hoary universe multiverse
deb-src http://nz.archive.ubuntu.com/ubuntu hoary universe multiverse
# security
deb http://security.ubuntu.com/ubuntu hoary-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted universe
# things you used to find at marillat
deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted
# java
deb http://ubuntu.tower-net.de/ubuntu/ hoary java
EOF
echo Updating package list
sudo apt-get update
echo installing packages
sudo apt-get install \
flashplayer-mozilla \
sun-j2re1.5 \
f-spot tomboy \
gstreamer0.8-mad gstreamer0.8-ffmpeg w32codecs libdvdcss2 \
msttcorefonts \
acroread=7.0-0sarge0.9 mozilla-acroread \
gnomebaker
2 pages link to UbuntuPostInstall: