From da66eeb40e8184a0306e09757e078c0c34ef0236 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 10 Mar 2022 00:06:32 +0100 Subject: [PATCH] Clean up lint warnings in deps install script Also use a simpler way to remove the version number, lol --- .github/actions/install_deps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/install_deps.sh b/.github/actions/install_deps.sh index 3b0c0f98..857f1816 100755 --- a/.github/actions/install_deps.sh +++ b/.github/actions/install_deps.sh @@ -1,5 +1,7 @@ #!/bin/bash -case `echo $1 | cut -d '-' -f 1` in +set -e + +case "${1%-*}" in ubuntu) sudo apt-get -qq update sudo apt-get install -yq bison libpng-dev pkg-config