mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Fix a bug where el-get-github-clone used the wrong URL.
This commit is contained in:
parent
55c1163bbf
commit
e3203d6858
|
@ -80,10 +80,9 @@ USERNAME and REPONAME are strings."
|
|||
|
||||
(defun el-get-github-clone (package url post-install-fun)
|
||||
"Clone the given package from Github following the URL."
|
||||
(el-get-insecure-check package url)
|
||||
(el-get-git-clone package
|
||||
(or url (el-get-github-url package))
|
||||
post-install-fun))
|
||||
(let ((url (or url (el-get-github-url package))))
|
||||
(el-get-insecure-check package url)
|
||||
(el-get-git-clone package url post-install-fun)))
|
||||
|
||||
(defun el-get-github-guess-website (package)
|
||||
(let* ((user-and-repo (el-get-github-parse-user-and-repo package))
|
||||
|
|
Loading…
Reference in New Issue
Block a user