]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xzipdiff
Include the nexcompat package in low and high release zips
[xonotic/xonotic.git] / misc / tools / xzipdiff
index 25c85f7c35a5d65440d549466a5e3363fd8d7b5a..ad2ffa616c0f04ce978b2f1a5f038bbc23f77680 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 from=$1
 to=$2
 output=$3
@@ -16,6 +18,7 @@ excludes="
        Xonotic/data/xonotic-*-maps-low.pk3
        Xonotic/data/xonotic-*-music-low.pk3
        Xonotic/data/font-nimbussansl-*.pk3
+       Xonotic/data/font-unifont-*.pk3
        Xonotic/data/font-xolonium-*.pk3
 "
 
@@ -34,6 +37,7 @@ makepatchname()
 }
 
 zipdiff -f "$from" -t "$to" -o "$output" -x "$excludes"
+# or maybe just include ALL not excluded files from $to in $output?
 
 tempdir=`mktemp -d -t zipdiff.XXXXXX`
 cd "$tempdir"