8000 Hoarder Debian/Ubuntu install script - Add error handling; other small fixes by vhsdream · Pull Request #980 · karakeep-app/karakeep · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hoarder Debian/Ubuntu install script - Add error handling; other small fixes #980

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

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

vhsdream
Copy link
Contributor
@vhsdream vhsdream commented Feb 4, 2025

Script will now exit on errors (and provide some info) and when there is an unset variable. Added check for Corepack v0.31.0 in update function.

Script will now exit on error and when there is an unset variable
@@ -254,6 +267,10 @@ function update {
wget -q "https://github.com/hoarder-app/hoarder/archive/refs/tags/v${RELEASE}.zip"
unzip -q v${RELEASE}.zip
mv hoarder-${RELEASE} ${INSTALL_DIR}
# https://github.com/hoarder-app/hoarder/issues/967
if [[ $(corepack -v) < "0.31.0" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break when corepack reaches 0.100 but I think it's the problem of future me :D

@MohamedBassem MohamedBassem merged commit d6456eb into karakeep-app:main Feb 9, 2025
4 checks passed
@vhsdream vhsdream deleted the script-v2 branch March 4, 2025 22:23
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
0