#!/bin/sh

# Install and prepare infocalypse on your system.

echo -n "Where do you store your Mercurial plugins? [~/.local/hgext]: "
read hgext
if [ "$hgext" == "" ]; then
    hgext="~/.local/hgext"
fi

distro () {
    if which apt-get >&/dev/null; then
        dist="debian"
    fi
    if which emerge >&/dev/null; then
        dist="gentoo"
    fi
    echo $dist
}

if [ $(distro) == "gentoo" ]; then 
    echo "gentoo"
fi