mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +00:00
HTML list: get source from recipe, not package name
This commit is contained in:
parent
4b6e9d1eb2
commit
06e9e3dd3d
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@
|
|||
package.version = versions.join('.')
|
||||
package.url = "packages/#{package.name}-#{package.version}." + (package.pkgtype == "single" ? "el" : "tar")
|
||||
package.recipe_url = "https://github.com/milkypostman/melpa/blob/master/recipes/#{package.name}"
|
||||
package.source = 'unknown'
|
||||
package.source = recipe["fetcher"]
|
||||
if package.descr =~ /(.*?)(\s*-\*-.*?)?\s*\[source:\s*(\w+)\]\s*/
|
||||
package.descr, package.source = $1, $3
|
||||
package.descr
|
||||
end
|
||||
|
||||
package.source_url =
|
||||
|
|
Loading…
Reference in a new issue