start X11 as compressonator needs it
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 7179a3bf71c8f1e2c28184900682d47585891835..afc203f140b6800154e87c06b73cc21e22a8ecdb 100755 (executable)
--- a/all
+++ b/all
@@ -1056,6 +1056,16 @@ case "$cmd" in
                "$SELF" release-buildpk3s data/xonotic-music.pk3dir      normal '' raw '-raw' low '-low'
                "$SELF" release-buildpk3s data/xonotic-nexcompat.pk3dir                       low ''
                ;;
+       release-pack-needsx11)
+               case "$DISPLAY" in
+                       '')
+                               startx "$SELF" release-pack -- :7
+                               ;;
+                       *)
+                               "$SELF" release-pack
+                               ;;
+               esac
+               ;;
        release)
                "$SELF" release-prepare
                "$SELF" release-maps &
@@ -1063,7 +1073,7 @@ case "$cmd" in
                "$SELF" release-finish &
                "$SELF" release-qc &
                wait
-               "$SELF" release-pack
+               "$SELF" release-pack-needsx11
                ;;
 
        *)