diff --git a/manifest.toml b/manifest.toml index bb92afe..01d371a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -20,8 +20,11 @@ code = "https://github.com/moodle/moodle" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = true + sso = true + disk = "50M" ram.build = "2000M" ram.runtime = "50M" diff --git a/scripts/change_url b/scripts/change_url index dee095d..ea52b99 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -30,9 +30,9 @@ dir="__DIR__" ynh_backup_if_checksum_is_different --file="$install_dir/config.php" if [ "$new_path" == "/" ]; then - ynh_add_config --template="../conf/config-domain.php" --destination="$install_dir/config.php" + ynh_add_config --template="config-domain.php" --destination="$install_dir/config.php" else - ynh_add_config --template="../conf/config-path.php" --destination="$install_dir/config.php" + ynh_add_config --template="config-path.php" --destination="$install_dir/config.php" fi ynh_store_file_checksum --file="$install_dir/config.php"