mirror of
https://github.com/YunoHost-Apps/horde_ynh.git
synced 2024-09-03 19:16:08 +02:00
Update scripts/_common.sh
Simplify some code Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
parent
99f1043792
commit
320ece3736
1 changed files with 0 additions and 13 deletions
|
@ -17,24 +17,11 @@ patch_app() {
|
|||
}
|
||||
|
||||
config_horde() {
|
||||
ynh_backup_if_checksum_is_different --file "$install_dir/horde/config/conf.php"
|
||||
ynh_backup_if_checksum_is_different --file "$install_dir/horde/imp/config/conf.php"
|
||||
ynh_backup_if_checksum_is_different --file "$install_dir/horde/config/registry.local.php"
|
||||
ynh_backup_if_checksum_is_different --file "$install_dir/horde/gollem/config/backends.local.php"
|
||||
ynh_backup_if_checksum_is_different --file "$install_dir/horde/ingo/config/backends.local.php"
|
||||
|
||||
|
||||
ynh_add_config --template="horde_conf.php" --destination="$install_dir/horde/config/conf.php"
|
||||
ynh_add_config --template="/horde_imp_conf.php" --destination="$install_dir/horde/imp/config/conf.php"
|
||||
ynh_add_config --template="horde_registry.php" --destination="$install_dir/horde/config/registry.local.php"
|
||||
ynh_add_config --template="gollem_backends.php" --destination="$install_dir/horde/gollem/config/backends.local.php"
|
||||
ynh_add_config --template="ingo_backends.php" --destination="$install_dir/horde/ingo/config/backends.local.php"
|
||||
|
||||
ynh_store_file_checksum --file "$install_dir/horde/config/conf.php"
|
||||
ynh_store_file_checksum --file "$install_dir/horde/imp/config/conf.php"
|
||||
ynh_store_file_checksum --file "$install_dir/horde/config/registry.local.php"
|
||||
ynh_store_file_checksum --file "$install_dir/horde/gollem/config/backends.local.php"
|
||||
ynh_store_file_checksum --file "$install_dir/horde/ingo/config/backends.local.php"
|
||||
}
|
||||
|
||||
config_nginx() {
|
||||
|
|
Loading…
Reference in a new issue