# Monica 3.4
# ==========
# Download Monica from the web site using something other than wget. wget
# downloads have been disallowed due to morons that suck down the entire
# site and everything on it. When you get it, stick it in your home
# directory.
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "monica-*" -exec rm -r {} \;
tar xjvf ~/monica-3.4.tar.bz2
cd monica-3.4
test $UID = 0 && chown -R root:root .
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/monica-*.tar.*
mv monica-3.4.tar.bz2 installed/
# If you ever want to uninstall monica, this should do it:
cd
su
test -d src/monica-* && ( cd src/monica-* ; make uninstall )
rm -f /usr/bin/monica
exit
find ~/src -maxdepth 1 -type d -name "monica-*" -exec rm -r {} \;
rm -f ~/installed/monica-*.tar.*