Fix crash with sub-sample push parts in AudioMerger.
[dcpomatic.git] / graphics / update
index 642ff7fc0ccb92efd18c7e6fa9421f0890ea262c..2e5bccd17d63aee71b49f59b156cc7c6cccf3f0e 100755 (executable)
@@ -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
@@ -62,7 +63,7 @@ else
     # OS X preferences icons
     # servers.png does not have an SVG version
     mkdir -p osx/preferences
-    for i in colour_conversions defaults email kdm_email cover_sheet keys tms notifications accounts locations; do
+    for i in colour_conversions defaults email kdm_email cover_sheet keys tms notifications locations sound; do
        $INKSCAPE osx/preferences/$i.png src/$i.svg -w 32 -h 32
     done