diff options
author | Mark Longair <mhl@pobox.com> | 2013-11-15 11:39:12 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-15 11:39:12 +0000 |
commit | 64618741c17760fcb59647d74d1ccaff56160b15 (patch) | |
tree | d84f1f035b136180f0bdacb22895fbb0f1abf2c1 /lib/tasks/themes.rake | |
parent | 96b3b5adbdafb25e5ab6ca94b89d6682a2e8f0e4 (diff) | |
parent | cda26c36f309cdd8e8bbab9186f6cc0d4876e6c9 (diff) |
Merge branch 'release/0.15' into wdtk
Conflicts:
lib/tasks/stats.rake
Diffstat (limited to 'lib/tasks/themes.rake')
-rw-r--r-- | lib/tasks/themes.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/themes.rake b/lib/tasks/themes.rake index a8d16f108..1eed92f1e 100644 --- a/lib/tasks/themes.rake +++ b/lib/tasks/themes.rake @@ -85,7 +85,7 @@ namespace :themes do def install_theme(theme_url, verbose, deprecated=false) deprecation_string = deprecated ? " using deprecated THEME_URL" : "" - theme_name = File.basename(theme_url, '.git') + theme_name = theme_url_to_theme_name theme_url puts "Installing theme #{theme_name}#{deprecation_string} from #{theme_url}" uninstall(theme_name, verbose) if installed?(theme_name) install_theme_using_git(theme_name, theme_url, verbose) |