blob: 0c02a0ce114049e57fb8c24c6ac0c548093720ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- makepkg-optimize
+++ makepkg-optimize
@@ -1556,6 +1556,14 @@
fi
fi
+ # optipng - PNG image optimization
+ if check_option "optipng" "y"; then
+ if ! type -p optipng >/dev/null; then
+ error "$(gettext "Cannot find the %s binary required for optimizing PNG images.")" "optipng"
+ ret=1
+ fi
+ fi
+
# distcc - compilation with distcc
if check_buildoption "distcc" "y"; then
if ! type -p distcc >/dev/null; then
|