mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Correctly link to gists for github recipes
This should fix the link on melpa.milkbox.net for recipes like molokai-theme.
This commit is contained in:
parent
2424b0328a
commit
312313a744
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
source_url =
|
||||
case source
|
||||
when 'github' then "https://github.com/#{recipe['repo']}"
|
||||
when 'github' then recipe['repo'].include?('/') ? "https://github.com/#{recipe['repo']}" : "https://gist.github.com/#{recipe['repo']}"
|
||||
when 'wiki' then recipe.key?('files') ? nil : "http://www.emacswiki.org/emacs/#{pkgname}.el"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue