From cadca93532dedad3ddee36cd23057c3663c1e1aa Mon Sep 17 00:00:00 2001 From: ait Date: Mon, 2 May 2022 16:44:51 +0200 Subject: [PATCH] use = instead of == for posix compliance When /bin/sh is set to a strict posix shell (like dash) the script does not work. --- install_from_archiveorg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_from_archiveorg.sh b/install_from_archiveorg.sh index be57c83..a718ccc 100755 --- a/install_from_archiveorg.sh +++ b/install_from_archiveorg.sh @@ -5,7 +5,7 @@ get_cspack() wget -nc -O $1.pk3 https://archive.org/download/hl-counter-strike/$2.zip } -if [ "$1" == "-accumulative" ]; then +if [ "$1" = "-accumulative" ]; then get_cspack pak00 csbeta_1.0 get_cspack pak01 csbeta_1.0_b2premaps get_cspack pak02 csbeta_1.0_to_1.1