From f3bcffad608938e06f7168531be0f11100e70a3a Mon Sep 17 00:00:00 2001 From: Jatin K Malik Date: Sat, 21 Feb 2026 11:17:29 -0800 Subject: [PATCH] fix(install): prevent dnf check-update from exiting script on Fedora (#243) dnf check-update returns exit code 100 when system updates are available, which causes the script to exit immediately due to set -e. Added '|| true' to prevent this non-error condition from stopping the installer. Fixes #34 (Fedora installation failure) Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 468ce80..d6fbac7 100755 --- a/install.sh +++ b/install.sh @@ -986,7 +986,7 @@ install_system_dependencies() { if [ -n "$MISSING_PACKAGES" ]; then print_info "Installing missing packages:$MISSING_PACKAGES" - $UPDATE_CMD + $UPDATE_CMD || true # dnf check-update returns 100 if updates available $INSTALL_CMD $MISSING_PACKAGES || { print_error "Failed to install dependencies"; exit 1; } else print_info "All required packages are already installed."