diff --git a/gerrit_dash_creator/cmd/creator.py b/gerrit_dash_creator/cmd/creator.py index 0b3eded..fb3189d 100755 --- a/gerrit_dash_creator/cmd/creator.py +++ b/gerrit_dash_creator/cmd/creator.py @@ -83,6 +83,8 @@ def get_options(): # We need to support running with and without installation if os.path.exists('templates'): template_dir = 'templates' + elif os.path.exists('/usr/local/share/gerrit-dash-creator/templates'): + template_dir = '/usr/local/share/gerrit-dash-creator/templates' else: template_dir = os.path.join(sys.prefix, 'share', 'gerrit-dash-creator', 'templates')