From 344b272b3eea8348f0b1653eae3afd43833c861d Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Fri, 8 Apr 2022 00:23:15 +0200 Subject: [PATCH] Fix assets tarball (#10548) The tarball should be compressed and only use uncompressed assets. In that way, uit can be used by downstream distros easily. they can either download the assets and serve it as is or use the compress script to have it in the binary. Signed-off-by: Julien Pivotto --- scripts/package_assets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package_assets.sh b/scripts/package_assets.sh index f747d8d51..a1f1571dd 100755 --- a/scripts/package_assets.sh +++ b/scripts/package_assets.sh @@ -5,4 +5,4 @@ set -euo pipefail cd web/ui -find static -type f -name '*.gz' -print0 | xargs -0 tar cf static.tar.gz +find static -type f -not -name '*.gz' -print0 | xargs -0 tar czf static.tar.gz