From 14f2743fbd6799f7e71888140e63a325fae9ed3b Mon Sep 17 00:00:00 2001 From: Aaron Trudeau <36064197+trudeaua21@users.noreply.github.com> Date: Wed, 30 Mar 2022 20:26:14 -0400 Subject: [PATCH] Revert "Revert "remove jq install"" This reverts commit e3bac048b1dfb51270b469c0a5e649e9c7a8acce. --- dist/entrypoint.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/dist/entrypoint.sh b/dist/entrypoint.sh index 11c5e0d..7a266ad 100755 --- a/dist/entrypoint.sh +++ b/dist/entrypoint.sh @@ -7,26 +7,6 @@ ACTIVATE_LICENSE_PATH="$GITHUB_WORKSPACE/_activate-license" mkdir -p "$ACTIVATE_LICENSE_PATH" -# -# Check if apt-get is available if in package mode (if not, we must exit since we need to install jq) -# -if [ "$PACKAGE_MODE" = "true" ]; then - echo "Checking if apt-get is installed to install jq." - apt-get --version > /dev/null 2>&1 - if [ $? -ne 0 ]; then - echo "apt-get is not installed. Exiting..." - exit 1 - fi - - # install jq - apt-get update \ - && apt-get upgrade -y --force-yes \ - && apt-get install -y --force-yes \ - jq \ - && apt-get clean \ - && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* -fi - # # Run steps #