mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
cleaning
This commit is contained in:
parent
e92f29242a
commit
ded97a3330
2 changed files with 5 additions and 2 deletions
|
@ -20,8 +20,11 @@ code = "https://github.com/moodle/moodle"
|
||||||
yunohost = ">= 11.2"
|
yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
|
|
||||||
ldap = true
|
ldap = true
|
||||||
|
|
||||||
sso = true
|
sso = true
|
||||||
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "2000M"
|
ram.build = "2000M"
|
||||||
ram.runtime = "50M"
|
ram.runtime = "50M"
|
||||||
|
|
|
@ -30,9 +30,9 @@ dir="__DIR__"
|
||||||
ynh_backup_if_checksum_is_different --file="$install_dir/config.php"
|
ynh_backup_if_checksum_is_different --file="$install_dir/config.php"
|
||||||
|
|
||||||
if [ "$new_path" == "/" ]; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
ynh_store_file_checksum --file="$install_dir/config.php"
|
ynh_store_file_checksum --file="$install_dir/config.php"
|
||||||
|
|
Loading…
Reference in a new issue