From 14ffd922bc90e08e6c9aa872da14b30bcae5315d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 5 Jun 2023 11:00:33 +0200 Subject: [PATCH] cleaning --- manifest.toml | 6 +++--- scripts/install | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifest.toml b/manifest.toml index 13e6c73..58b26b7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -24,7 +24,7 @@ multi_instance = true ldap = false sso = false disk = "50M" -ram.build = "50M" +ram.build = "200M" ram.runtime = "50M" [install] @@ -58,8 +58,8 @@ ram.runtime = "50M" url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.5.124/invoiceninja.zip" sha256 = "484b2a927a2249d7707ad96c5fa44b61d8daa0b7a052aaf13421dee1e6ff6fc7" in_subdir = false - autoupdate.strategy = "latest_github_tag" rename = "invoiceninja.zip" + autoupdate.strategy = "latest_github_tag" [resources.system_user] @@ -69,7 +69,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "php8.1-bcmath php8.1-gmp php8.1-fileinfo php8.1-gd php8.1-mbstring php8.1-pdo php8.1-xml php8.1-curl php8.1-zip php8.1-mysql libnss3-dev libatk1.0-0 libatk-bridge2.0-0 libxcomposite1 libxrandr2 libasound2" + packages = "mariadb-server php8.2-bcmath php8.2-gmp php8.2-fileinfo php8.2-gd php8.2-mbstring php8.2-pdo php8.2-xml php8.2-curl php8.2-zip php8.2-mysql libnss3-dev libatk1.0-0 libatk-bridge2.0-0 libxcomposite1 libxrandr2 libasound2" [resources.database] type = "mysql" diff --git a/scripts/install b/scripts/install index a50382f..2bf4465 100755 --- a/scripts/install +++ b/scripts/install @@ -16,9 +16,9 @@ source /usr/share/yunohost/helpers api_secret="$(ynh_string_random --length=32)" app_key="$(ynh_string_random --length=32)" phantomjs_key="$(ynh_string_random --length=32)" -email_firstname="$(ynh_user_get_info $admin firstname)" -email_lastname="$(ynh_user_get_info $admin lastname)" -email="$(ynh_user_get_info $admin mail)" +email_firstname="$(ynh_user_get_info --username=$admin --key=firstname)" +email_lastname="$(ynh_user_get_info --username=$admin --key=lastname)" +email="$(ynh_user_get_info --username=$admin --key=mail)" #================================================= # STORE SETTINGS FROM MANIFEST