change apt-get version check message

pull/164/head
Aaron Trudeau 2022-01-17 13:58:59 -05:00
parent 3f24118d3e
commit 7a0e9c0b69
No known key found for this signature in database
GPG Key ID: 29F89A9BDAAF7BDE
1 changed files with 1 additions and 2 deletions

3
dist/entrypoint.sh vendored
View File

@ -11,8 +11,7 @@ mkdir -p "$ACTIVATE_LICENSE_PATH"
# Check if apt-get is available if in package mode (if not, we must abort since we need to install jq) # Check if apt-get is available if in package mode (if not, we must abort since we need to install jq)
# #
if [ "$PACKAGE_MODE" = "true" ]; then if [ "$PACKAGE_MODE" = "true" ]; then
echo "Running tests on a Unity package rather than a Unity project." echo "Checking if apt-get is installed to install jq."
echo "Checking if apt-get is installed."
apt-get --version > /dev/null 2>&1 apt-get --version > /dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "apt-get is not installed. Aborting..." echo "apt-get is not installed. Aborting..."