summaryrefslogtreecommitdiffstats
path: root/bin/layman-updater
blob: 51cf825f340ae776995414d1345514ac4bf4f25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python
# -*- coding: utf-8 -*-

################################################################################
# LAYMAN - A UTILITY TO UPDATE LAYMAN DB's
################################################################################
# Distributed under the terms of the GNU General Public License v2
#
# Copyright:
#             (c) 2011 Brian Dolbec
#             Distributed under the terms of the GNU General Public License v2
#
# Author(s):
#             Brian Dolbec <brian.dolbec@gmail.com>
#

__version__ = "0.1"

import os

from layman.updater import Main

root = None
try:
    root = os.environ['ROOT']
except KeyError:
    pass

main = Main(root=root)
main()