case $MODE in
    configure)
        if [  "$DIST" = "n/a" ]; then
	    # set distribution to lenny if lsb_release failed to figure it out
	    echo "Note: setting distribution to lenny, as auto-detection failed."
            DIST=lenny
        fi
    ;;
esac
