From 4271c4e272707f06f8fc0bef6bbbb92d2c8a7819 Mon Sep 17 00:00:00 2001 From: Shubhendu Date: Fri, 26 Apr 2024 11:59:20 +0530 Subject: [PATCH] Unzip the gradle zip silently (#380) This supresses the un-necessary huge inflating messages while build Signed-off-by: Shubhendu Ram Tripathi --- preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preinstall.sh b/preinstall.sh index 13dd4d8..e16e9c6 100755 --- a/preinstall.sh +++ b/preinstall.sh @@ -50,7 +50,7 @@ update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 mkdir -p ${GRADLE_INSTALL_PATH} gradle_url="https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" -if ! $WGET --output-document=- "$gradle_url" | busybox unzip -d ${GRADLE_INSTALL_PATH} -; then +if ! $WGET --output-document=- "$gradle_url" | busybox unzip -qq -d ${GRADLE_INSTALL_PATH} -; then echo "unable to install gradle-${GRADLE_VERSION}" exit 1 fi