From dbcf712d846e21dabe0623bece220f700ce5c6e1 Mon Sep 17 00:00:00 2001 From: germedeb Date: Sat, 1 Oct 2022 17:06:44 -0300 Subject: [PATCH] updated build.sh --- tasks/build.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tasks/build.sh b/tasks/build.sh index 9029b71..c61103b 100755 --- a/tasks/build.sh +++ b/tasks/build.sh @@ -123,19 +123,16 @@ esac if [ "$OPTIPNG" = use ]; then if [ "$IGNOREDEPS" != ok ]; then - command -v optipng >/dev/null 2>&1 || { echo >&2 "Missing dependency: optipng"; DEPSCOMPLETE=n; } - if [ "$DEPSCOMPLETE" = n ]; then + if [ "$DEPSCOMPLETE" = n ]; then echo To optimize the build, please install optipng exit 2 - fi - fi printf "${info_color}Using optipng to reduce the size of the build...${reset_colors}\\n" + ./tasks/opticall.sh; - fi # copy the index.theme file to the build. necesary to interpretate the icon pack in the settings