diff --git a/manifest.toml b/manifest.toml index 6e2de11..a30b1a0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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" diff --git a/scripts/install b/scripts/install index ffb5051..7b93a0e 100644 --- a/scripts/install +++ b/scripts/install @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index 644825c..dd02cfd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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