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

v1: uninstall if needed during install #1111

Open
wants to merge 1 commit into
base: v1/main
Choose a base branch
from

Conversation

felipecrs
Copy link
Contributor

@felipecrs
Copy link
Contributor Author

felipecrs commented Feb 5, 2025

@mxcl I promise this is the last fix I need for pkgx v1 (and then I'll focus to migrate to pkgx v2).

@coveralls
Copy link

Coverage Status

coverage: 92.163% (-0.07%) from 92.23%
when pulling cc71694 on felipecrs:uninstall-if-needed
into 3f2b858 on pkgxdev:v1/main.

@felipecrs
Copy link
Contributor Author

This coverage report is a false negative. I'm sure I didn't decrease coverage.

@felipecrs
Copy link
Contributor Author

felipecrs commented Feb 6, 2025

@mxcl, this is a gentle ping.

To test this PR, confirm it wasn't working before:

$ deno task run install openjdk.org@17 && deno task run install openjdk.org@21
# first installation succeeds
# second fails because openjdk.org@17 was already installed

Then, clone this PR and repeat.

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