#!/usr/bin/env python ################################################################################ # LAYMAN - A UTILITY TO SELECT AND UPDATE GENTOO OVERLAYS ################################################################################ # Distributed under the terms of the GNU General Public License v2 # # Copyright: # (c) 2005 Gunnar Wrobel # (c) 2009 Sebastian Pipping # (c) 2011 Brian Dolbec # Distributed under the terms of the GNU General Public License v2 # # Author(s): # Gunnar Wrobel # Sebastian Pipping # Brian Dolbec # __version__ = "0.2" import os #=============================================================================== # # Dependencies # #------------------------------------------------------------------------------- from layman.argsparser import ArgsParser from layman.cli import Main #=============================================================================== # # MAIN # #------------------------------------------------------------------------------- root = None try: root = os.environ['ROOT'] except KeyError: pass main = Main(ArgsParser(root=root)) try: main() except KeyboardInterrupt: print('Interrupt received, exiting...')