From daf99699eadcbbbfae43ac3ea19ba13b6b3f1847 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 4 Oct 2020 19:55:36 +0200 Subject: [PATCH] chore: Minor snap fix --- snap/snapcraft.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6794d67..f235933 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,9 +22,10 @@ parts: plugin: cmake build-packages: - build-essential + stage-packages: + - libsqlite3-0 override-build: | - rm -r olm - git clone https://gitlab.matrix.org/matrix-org/olm.git + if cd olm; then git pull; else git clone https://gitlab.matrix.org/matrix-org/olm.git; fi cd olm cmake . -Bbuild cmake --build build @@ -33,6 +34,4 @@ parts: source: . plugin: flutter flutter-target: lib/main.dart - stage-packages: - - libsqlite3-0 after: [olm]