# If you're upgrading from a 1.x version, keep in mind that this one won't
# be able to read the preferences from the old one. It should be fine
# opening the data file though.
cd
test -f installed/gramps-2.0.11.tar.gz && mv installed/gramps-2.0.11.tar.gz .
test ! -f gramps-2.0.11.tar.gz &&
wget http://download.sf.net/gramps/gramps-2.0.11.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gramps-*" -exec rm -r {} \;
tar xzvf ~/gramps-2.0.11.tar.gz
cd gramps-2.0.11
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc
make
# Become root to install it
su
# Install it
make install
# I'm in the US and only read/write English (well), so I don't need these
find /usr/share/locale -type f -name gramps.mo -exec rm {} \;