diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-07-14 13:32:11 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-07-14 13:32:11 -0500 |
commit | 777908759c3fc2dbc21bbdc5d6ac6ff10034b1ff (patch) | |
tree | 9bba519ebf1eb4ce6d064fb089bac8195317fa7c | |
parent | 3da44aeba185de73b30d75e53e08bfdd2a898e6d (diff) | |
download | mediagoblin-777908759c3fc2dbc21bbdc5d6ac6ff10034b1ff.tar.lz mediagoblin-777908759c3fc2dbc21bbdc5d6ac6ff10034b1ff.tar.xz mediagoblin-777908759c3fc2dbc21bbdc5d6ac6ff10034b1ff.zip |
Setup the scaffolding for theme installing, but it doesn't work yet
-rw-r--r-- | mediagoblin/gmg_commands/theme.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/theme.py b/mediagoblin/gmg_commands/theme.py index 95594f00..98485bed 100644 --- a/mediagoblin/gmg_commands/theme.py +++ b/mediagoblin/gmg_commands/theme.py @@ -87,8 +87,8 @@ def link_assets(theme, link_dir, printer=simple_printer): theme['assets_dir'], link_dir)) -def install_theme(): - pass +def install_theme(install_dir, themefile): + pass # TODO ;) ############# @@ -109,6 +109,8 @@ def install_command(args): Handle the 'install this theme' subcommand """ global_config, app_config = setup_global_and_app_config(args.conf_file) + install_dir = app_config['theme_install_dir'] + install_theme(install_dir, args.themefile) SUBCOMMANDS = { |