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:
Noam Postavsky 2016-06-28 19:19:22 -04:00
parent ca5facb36b
commit 9f2833c749

View File

@ -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)))