diff options
Diffstat (limited to 'graphics/update')
| -rwxr-xr-x | graphics/update | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/graphics/update b/graphics/update index 642ff7fc0..94cbbf88e 100755 --- a/graphics/update +++ b/graphics/update @@ -12,19 +12,20 @@ if [ `basename $pwd` != "graphics" ]; then exit 1 fi -for c in icotool convert inkscape; do - if [ ! -x "$(command -v $c)" ]; then - echo "$c is required" - exit 1 - fi -done - if [ `uname -s` == "Darwin" ]; then # Convert OS X icons using OS X-only iconutil for p in dcpomatic2 dcpomatic2_kdm dcpomatic2_server dcpomatic2_batch dcpomatic2_player dcpomatic2_playlist; do iconutil --convert icns --output osx/$p.icns osx/$p.iconset done else + + for c in icotool convert inkscape; do + if [ ! -x "$(command -v $c)" ]; then + echo "$c is required" + exit 1 + fi + done + INKSCAPE="inkscape -z -C -e" # OS X application icons |
