Skip to content

Uninstall homebridge and install version from package #51

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

Open
wants to merge 4 commits into
base: latest
Choose a base branch
from

Conversation

justjam2013
Copy link

@justjam2013 justjam2013 commented Mar 4, 2025

♻️ Current situation

Currently, if a version of Homebridge is installed, it is not updated

💡 Proposed solution

Delete existing version of Homebridge from node_modules, delete version from local package.json and install version from apt package.json

⚙️ Release Notes

Updates Homebridge version to version in package.json

➕ Additional Information

As the homebridge version is removed from the local package.json only in postinst, we need an initial delete of the existing version of Homebridge from the local package.json on the first run to prevent reinstalling the same package. Future runs will be fine.

Testing

Reviewer Nudging

@github-actions github-actions bot added the latest label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants