From e260f2436ff579e4a96df1ff8595137e34e0ebfe Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 19 May 2023 17:50:21 +0200 Subject: [PATCH] Installation --- run/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/install.sh b/run/install.sh index 0b427c2..3ddf6ce 100644 --- a/run/install.sh +++ b/run/install.sh @@ -69,7 +69,7 @@ if [ ! -f "${RDC}" ]; then fi { xz -dc <"$RDC" >"$TMP/rd" 2>/dev/null; rc=$?; } || : -(( rc > 1 )) && error "Failed to unxz $RDC, reason $rc" && exit 91 +(( rc != 1 )) && error "Failed to unxz $RDC, reason $rc" && exit 91 { (cd "$TMP" && cpio -idm <"$TMP/rd" 2>/dev/null); rc=$?; } || : (( rc != 0 )) && error "Failed to cpio $RDC, reason $rc" && exit 92