phar-io / phive

The Phar Installation and Verification Environment (PHIVE)
https://phar.io
BSD 3-Clause "New" or "Revised" License
581 stars 45 forks source link

phive.xml always updated #96

Closed kingcrunch closed 7 years ago

kingcrunch commented 7 years ago

I want to create a Makefile, but even phive install updates phive.xml on every run. This means from makes point of view the tools are always expired. Since there is no lock file (see #92 ) phive.xmls timestamp should not change, when the file itself does not change.

theseer commented 7 years ago

The install command currently does not check whether the symlink in the tools directory is already present/points to the requested version but merely (re-)creates it.

As a result, the phive.xml gets "updated" - even though nothing actually changed from a content perspective.