From 5430d4b78024a52b8aa505d6678a4e17942d75e5 Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Mon, 19 Jan 2026 18:25:28 +0800 Subject: [PATCH] OpenRC: Fix dependency check issue Fixes #108 --- alpinelinux/install-release.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/alpinelinux/install-release.sh b/alpinelinux/install-release.sh index 8a7cd02..4a05d2a 100644 --- a/alpinelinux/install-release.sh +++ b/alpinelinux/install-release.sh @@ -108,10 +108,7 @@ identify_architecture() { } install_dependencies() { - if [ -n "$(command -v curl)" ]; then - return - fi - if [ -n "$(command -v unzip)" ]; then + if [ -n "$(command -v curl)" ] && [ -n "$(command -v unzip)" ]; then return fi if [ "$(command -v apk)" ]; then