Closed nenadalm closed 6 years ago
The script "main.sh" already prompts whether old versions should be removed or not. It uses the contents of custom/default-versions.txt to determine what the currently valid versions are. Any version not listed there is considered obsolete and proposed for removal. Please note that old versions are only removed after all other operations have run successfully.
It this enough for your use case? I'm a bit reluctant to adding yet another script unless there is a solid reason to do so.
As a side note: phpfarm follows the git flow branching model (http://nvie.com/posts/a-successful-git-branching-model/). Patches should therefore be submitted against the "develop" branch rather than the "master" branch.
the script just removes old installed php versions, but it doesn't remove stuff downloaded by post install script (e.g. some extension sources)
Hi. I have a lot php versions now (+ I created some other files in my system in post-install script) so I think it would be helpful to have script which can remove these old versions.