mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
el-get-apt-get-install: use apt-get package name
in name of buffer, rather than el-get package name. Since we write what looks like the command being executed, "apt-get install FOO", it's confusing if FOO isn't the actual package being passed to apt-get. Fixes #2358.
This commit is contained in:
parent
ca5facb36b
commit
9f2833c749
|
@ -130,7 +130,7 @@ The installation status is retrieved from the system, not el-get."
|
|||
"echo $pass | sudo -S apt-get install PACKAGE"
|
||||
(let* ((source (el-get-package-def package))
|
||||
(pkgname (or (plist-get source :pkgname) (el-get-as-string package)))
|
||||
(name (format "*apt-get install %s*" package))
|
||||
(name (format "*apt-get install %s*" pkgname))
|
||||
(ok (format "Package %s installed." package))
|
||||
(ko (format "Could not install package %s." package)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user