From bbaa892163b75cdf3a9b7cd74f6e3a9f315085e2 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 22 May 2024 11:20:24 +0200 Subject: [PATCH] Fix web prepare script --- scripts/prepare-web.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prepare-web.sh b/scripts/prepare-web.sh index 70b15a246a..7392c293b1 100755 --- a/scripts/prepare-web.sh +++ b/scripts/prepare-web.sh @@ -1,7 +1,7 @@ #!/bin/sh -ve -rm -r assets/js/package +rm assets/js/package/olm* -OLM_VERSION=$(cat pubspec.yaml | yq .dependencies.flutter_olm) +OLM_VERSION=$(cat pubspec.yaml | yq -r .dependencies.flutter_olm) DOWNLOAD_PATH="https://github.com/famedly/olm/releases/download/v$OLM_VERSION/olm.zip" cd assets/js/ && curl -L $DOWNLOAD_PATH > olm.zip && cd ../../