#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# This file is part of Karesansui.
#
# Copyright (C) 2009 HDE, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
#
# karesansui-checkenv - Check environment for Karesansui
#

import installer.checkenv
from installer.utils import deco_msg

if __name__ == '__main__':

    try:
        installer.checkenv.main()
    except installer.checkenv.CheckEnvError,e:
        print deco_msg(e.value,"red|bold")
