From 6a27a460b50c0c53521b8cdbfe4d6755843399a9 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 5 Apr 2023 23:27:33 +0200 Subject: [PATCH] version 1.19 is >= 1.19.0-3 --- forgejo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo.sh b/forgejo.sh index 173d553..71d7905 100755 --- a/forgejo.sh +++ b/forgejo.sh @@ -28,7 +28,7 @@ function run() { local image="$1" local version="$2" - if dpkg --compare-versions "$version" "lt" "1.19.0-3"; then + if test "$version" != "1.19" && dpkg --compare-versions "$version" "lt" "1.19.0-3"; then actions_unit="actions.actions" else actions_unit="repo.actions"