updated build.sh

This commit is contained in:
germedeb 2022-10-01 17:06:44 -03:00
parent 2ee92d7cbd
commit dbcf712d84

View File

@ -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;
./tasks/opticall.sh;
fi
# copy the index.theme file to the build. necesary to interpretate the icon pack in the settings