Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -ex
VERSION=9.2.4
POSTGISVERSION=2.0.4SVN
CODEDIR=$PWD
BUILDDIR="$(dirname "$0")"
cp $BUILDDIR/run.postgres $HOME
cp $BUILDDIR/enslave.py $HOME
[ -d $HOME/postgresql-$VERSION ] || {
curl http://ftp.postgresql.org/pub/source/v$VERSION/postgresql-$VERSION.tar.gz | tar -zxf-
var mydata = {
"somedata": "somevalue"
}