# where to put the fixed package
PREFIX=/root/

mkdir -p $PREFIX/debian/debs
# Get a copy of the fixed package. This is exactly Shaun Jackman's fix
wget -O $PREFIX/debian/debs/libswt3.2-gtk-java_3.2.1-4_i386.deb http://linux.ch.eu.org/~software/libswt3.2-gtk-java_3.2.1-4_i386.deb

# teach the debian package system where to find the fixed package
dpkg-scanpackages $PREFIX/debian/debs /dev/null | gzip > $PREFIX/debian/debs/Packages.gz
echo "deb file:/home/software/debian/ debs/" >> /etc/apt/sources.list
apt-get update
