raco pkg: fix removal before re-instal of extra clone-sharing packages

This commit is contained in:
Matthew Flatt 2014-12-04 18:45:24 -07:00
parent c6d2548e22
commit c140105068

View File

@ -165,9 +165,9 @@
(hash-set (hash-ref repo-descs repo)
name
converted-desc))
(if (and (not updating?)
(not (hash-ref (hash-ref new-repo-descs repo) name #f)))
;; Count the conversion as an update, not an install:
(if (not (hash-ref (hash-ref new-repo-descs repo) name #f))
;; Count the conversion as an update, not an install,
;; and make sure it's removed before the re-install:
(hash-set extra-updates name #t)
extra-updates))))