mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-20 13:24:37 -05:00
improve unset Element version workaround
This commit is contained in:
parent
548554be39
commit
84df782352
@ -13,7 +13,7 @@ cp -a /usr/share/webapps/element static-tmp
|
||||
cp --remove-destination webapps/element/config.json static-tmp/config.json
|
||||
|
||||
# work around https://bugs.archlinux.org/task/72968
|
||||
find static-tmp -name '*.js' -exec sed -i 's/!!UNSET!!/1.9.6/' {} +
|
||||
find static-tmp -name '*.js' -exec sed -i "s/!!UNSET!!/$(cat static-tmp/version | tr -d '\n')/g" {} +
|
||||
|
||||
brotli_k() {
|
||||
brotli -k "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user