From 718090162e6e2f2c36e9476c42d5210bc9e52006 Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Thu, 1 Jun 2023 21:58:56 +0800 Subject: [PATCH] fix(install_linux): Update unzip arguments (#1771) Use `-o` (overwrite) instead of `-u` (update). Behaviourally, there shouldn't be any difference from this change. This improves compatibility with BusyBox unzip, which only supports `-o`. --- install_linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_linux.sh b/install_linux.sh index 372024eae..0932bbb68 100755 --- a/install_linux.sh +++ b/install_linux.sh @@ -64,7 +64,7 @@ echo "Downloaded successfully" echo -e "\n\n====================================================" echo "Unpacking ${download_zip} ..." -unzip -u "${download_zip}" -d "${download_path}" +unzip -o "${download_zip}" -d "${download_path}" if [[ $os == "windows"* ]]; then dest="${TFLINT_INSTALL_PATH:-/bin}/" echo "Installing ${download_executable} to ${dest} ..."