Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the versions directory when the last version is uninstalled #128

Merged
merged 4 commits into from
May 27, 2020

Conversation

e-nomem
Copy link
Contributor

@e-nomem e-nomem commented Jul 27, 2019

Checking for the existence of the versions directory is commonly used as a proxy for checking if any version of terraform is installed at all. For consistency and a better user experience, the versions directory should be deleted when the last version is uninstalled.

@e-nomem
Copy link
Contributor Author

e-nomem commented Sep 13, 2019

FYI, if #127 gets merged, this will need some minor tweaking

@Zordrak Zordrak merged commit f3cd111 into tfutils:master May 27, 2020
@e-nomem e-nomem deleted the remove-versions-dir branch May 28, 2020 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants