From e59e7709714b47d284725312180015135689606c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Dec 2023 21:40:25 +0100 Subject: [PATCH] cleaning --- manifest.toml | 3 +++ scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 7f100c8..9c9a422 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,8 +18,11 @@ code = "https://github.com/khlieng/dispatch" yunohost = ">= 11.2" architectures = "all" multi_instance = false + ldap = false + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/install b/scripts/install index 037cb83..db6bc73 100644 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ yunohost service add $app --description="Web-based IRC client" --log="/var/log/$ #================================================= ynh_script_progression --message="Adding a configuration file..." -ynh_add_config --template="../conf/config.default.toml" --destination="$install_dir/.dispatch/config.toml" +ynh_add_config --template="config.default.toml" --destination="$install_dir/.dispatch/config.toml" chmod 400 "$install_dir/.dispatch/config.toml" chown $app:$app "$install_dir/.dispatch/config.toml" diff --git a/scripts/upgrade b/scripts/upgrade index 3f82acd..c2760b6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,7 +62,7 @@ yunohost service add $app --description="Web-based IRC client" --log="/var/log/$ #================================================= ynh_script_progression --message="Updating a configuration file..." -ynh_add_config --template="../conf/config.default.toml" --destination="$install_dir/.dispatch/config.toml" +ynh_add_config --template="config.default.toml" --destination="$install_dir/.dispatch/config.toml" chmod 400 "$install_dir/.dispatch/config.toml" chown $app:$app "$install_dir/.dispatch/config.toml"