joyent/smartos-live — pull request #130 by MerlinDMC (2012-10-15 12:09:58+00:00)
Title: imgadm-repair destroys the imgadm database

the variables in single-quotes don't get replaced so imgadm-repair writes `${manifest}` into all json files which breaks everything else that should work with the file.

imgadm-repair tried to update locally imported manifest which are not found in the cache file - that would save an empty manifest file.

this pull request fixes #129