From f116b61b71bdc40f7c5eaec8b28a7dc504473f91 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 21 Apr 2023 06:53:40 +0200 Subject: [PATCH] Shellcheck --- run/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run/install.sh b/run/install.sh index 17119cb..c6f1859 100644 --- a/run/install.sh +++ b/run/install.sh @@ -35,13 +35,13 @@ fi SUM=$(md5sum "$RD" | cut -f 1 -d " ") -if [ $SUM != "14fb88cb7cabddb5af1d0269bf032845" ]; then +if [ "$SUM" != "14fb88cb7cabddb5af1d0269bf032845" ]; then echo "Invalid extractor, checksum failed." && exit 61 fi set +e -xz -dc <$RD >$TMP/rd 2>/dev/null -(cd $TMP && cpio -idm <$TMP/rd 2>/dev/null) +xz -dc <"$RD" >"$TMP/rd" 2>/dev/null +(cd "$TMP" && cpio -idm <"$TMP/rd" 2>/dev/null) set -e mkdir -p /run/extract