1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00
This commit is contained in:
Éric Gaspar 2023-04-19 16:08:56 +02:00
parent d9bedee29b
commit c8b5f4a19a
3 changed files with 8 additions and 8 deletions

View file

@ -35,8 +35,8 @@ ram.runtime = "50M"
default = "/paheko"
[install.init_main_permission]
help.en = "The SSO is not implemented for this app and yunohost is not sure for hundred of users..."
help.fr = "Le SSO n'est pas implémenté pour cette application et yunohost n'est pas sûr pour une centaine d'utilisateurs..."
help.en = "The SSO is not implemented for this app and YunoHost is not sure for hundred of users..."
help.fr = "Le SSO n'est pas implémenté pour cette application et YunoHost n'est pas sûr pour une centaine d'utilisateurs..."
type = "group"
default = "visitors"

View file

@ -48,9 +48,9 @@ secret_key=$(ynh_string_random --length=50)
ynh_app_setting_set --app=$app --key=secret_key --value=$secret_key
# Install configuration files
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
ynh_add_config --template="config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"
ynh_add_config --template="config.local.user.php" --destination="$install_dir/config.local.user.php"
ynh_add_config --template="../conf/config.local.php" --destination="$install_dir/config.local.php"
ynh_add_config --template="../conf/config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"
ynh_add_config --template="../conf/config.local.user.php" --destination="$install_dir/config.local.user.php"
# Permissions on files and directories
chmod -R o-rwx "$install_dir"

View file

@ -107,11 +107,11 @@ ynh_add_nginx_config
ynh_script_progression --message="Updating a configuration file..." --weight=5
if ynh_compare_current_package_version --comparison lt --version 1.1.15~ynh1; then
ynh_add_config --template="config.local.user.php" --destination="$install_dir/config.local.user.php"
ynh_add_config --template="../cong/config.local.user.php" --destination="$install_dir/config.local.user.php"
fi
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
ynh_add_config --template="config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"
ynh_add_config --template="../cong/config.local.php" --destination="$install_dir/config.local.php"
ynh_add_config --template="../cong/config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"
# NOTE: Don't overwrite config.local.user.php
# Permissions on files and directories