From 03ecf344d83fee99c3a3e9bd5e5ee65ca19d1ec7 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 22 Apr 2022 19:11:49 +0200 Subject: [PATCH] Fixing environment setting. --- eu.ad5001.LogarithmPlotter.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 039b604..61f7c0a 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -55,6 +55,12 @@ { "name": "LogarithmPlotter", "buildsystem": "simple", + "build-options": { + "env": { + "MIME_PATH": "/app/share/mime/packages", + "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes" + } + }, "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", @@ -62,10 +68,6 @@ "cp CHANGELOG.md LogarithmPlotter/ # Copy changelog into the directory.", "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app" ], - "env": { - "MIME_PATH": "/app/share/mime/packages", - "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes" - }, "post-install": [ "mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml", "sed -i 's/application-x-logarithm-plot/eu.ad5001.LogarithmPlotter-application-x-logarithm-plot/g' ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",