remove jq install

pull/164/head
Aaron Trudeau 2022-03-29 23:08:49 -04:00
parent acea6b686b
commit bd35ac8f6f
No known key found for this signature in database
GPG Key ID: D6874B046ABF9536
1 changed files with 0 additions and 20 deletions

20
dist/entrypoint.sh vendored
View File

@ -7,26 +7,6 @@
ACTIVATE_LICENSE_PATH="$GITHUB_WORKSPACE/_activate-license" ACTIVATE_LICENSE_PATH="$GITHUB_WORKSPACE/_activate-license"
mkdir -p "$ACTIVATE_LICENSE_PATH" 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 # Run steps
# #