Fix a bug in el-get-init-and-install.

We were failing to find the package in the list of packages to init and so
considered them for installation again.  As el-get-install will respect the
current package status, that would result in the package not being
initialized at startup.

Bug found while reading the code to prepare the 3.1 release.
This commit is contained in:
Dimitri Fontaine 2011-09-15 22:05:03 +02:00
parent f9cca1478e
commit e9baf31d36

View File

@ -3553,7 +3553,7 @@ considered \"required\"."
(el-get-as-symbol p)))))
(to-install (if packages
(loop for p in packages
unless (member (el-get-as-symbol p) to-init)
unless (member (el-get-as-string p) to-init)
collect (el-get-as-string p))
required))
done)