From e3186acf0f6789e0efe354c1ffd4da234b985f88 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 20 Mar 2023 16:43:28 +0100 Subject: [PATCH] manifest.toml: bash being bash .. we can't use the foo && bar syntax, otherwise that triggers exit code 1 (error) when the condition fails .. --- manifest.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index fd87622..dda0122 100644 --- a/manifest.toml +++ b/manifest.toml @@ -100,10 +100,14 @@ ram.runtime = "50M" [resources.apt] packages = "mariadb-server" packages_from_raw_bash = """ - [[ "$export" == "libreoffice" ]] && echo "unoconv libreoffice-writer" - [[ "$export" == "abiword" ]] && echo "abiword" + if [[ "$export" == "libreoffice" ]] + then + echo "unoconv libreoffice-writer" + elif [[ "$export" == "abiword" ]] + echo "abiword" + fi """ [resources.database] type = "mysql" - \ No newline at end of file +