From cc3601aea8323bdc4c66004fb563e369b3339bc2 Mon Sep 17 00:00:00 2001 From: mrflos Date: Fri, 24 May 2024 15:57:38 +0200 Subject: [PATCH] fix(install): typo RessourceS and chown /etc/sudoers/.. --- conf/CLIC/default-content.sql | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/CLIC/default-content.sql b/conf/CLIC/default-content.sql index 4283c70..7cca541 100644 --- a/conf/CLIC/default-content.sql +++ b/conf/CLIC/default-content.sql @@ -382,7 +382,7 @@ Double cliquer sur ce texte pour éditer cette colonne. \"\"\"\"', '', '{{WikiName}}', '{{WikiName}}', 'Y', 'page', ''), ('PageMenuHaut', now(), ' - [Accueil]({{rootpage}}) - [Services](Services) - - [Ressources](Ressource)', '', '{{WikiName}}', '{{WikiName}}', 'Y', 'page', ''), + - [Ressources](Ressources)', '', '{{WikiName}}', '{{WikiName}}', 'Y', 'page', ''), ('{{rootPage}}', now(), ' {{section bgcolor=\"var(--primary-color)\" class=\"shape-rounded\" pattern=\"border-solid\" }}=====Bienvenue===== Vous êtes sur un espace auto-hébergé de partage de ressource et d\'outils numériques coopératifs sous license libre. diff --git a/scripts/install b/scripts/install index b542fac..a697833 100755 --- a/scripts/install +++ b/scripts/install @@ -98,6 +98,7 @@ chmod +x $install_dir/tools/yunohost/private/scripts/*.sh # Add app user in sudoers to authorize to launch yunohost cli commands without password ynh_add_config --template="sudoers" --destination="/etc/sudoers.d/$app" +chown root:root /etc/sudoers.d/$app # At last, run the YunoHost app importer ynh_script_progression --message="Import YunoHost apps in bazar" --weight=2