From a40fc9a3c49f3ed5189925afa95760c9e4e81aad Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Feb 2022 08:49:44 +0100 Subject: [PATCH] Update install --- scripts/install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 9155eb6..64fb79c 100644 --- a/scripts/install +++ b/scripts/install @@ -64,15 +64,15 @@ ynh_exec_warn_less dpkg -i $tempdir/kiwiirc_20.05.24.1-1_amd64.deb #================================================= # ADD A CONFIGURATION #================================================= -# ynh_script_progression --message="Adding a configuration file..." --weight=1 +ynh_script_progression --message="Adding a configuration file..." --weight=1 -# ynh_add_config --template="../conf/client.json.example" --destination="/etc/kiwiirc/client.json" -# ynh_add_config --template="../conf/config.conf.example" --destination="/etc/kiwiirc/config.conf" +ynh_add_config --template="../conf/client.json.example" --destination="/etc/kiwiirc/client.json" +ynh_add_config --template="../conf/config.conf.example" --destination="/etc/kiwiirc/config.conf" -# chmod 775 "/etc/kiwiirc/config.conf" -# chown root: "/etc/kiwiirc/config.conf" -# chmod 775 "/etc/kiwiirc/client.json" -# chown root: "/etc/kiwiirc/client.json" +chmod 744 "/etc/kiwiirc/config.conf" +chown root: "/etc/kiwiirc/config.conf" +chmod 744 "/etc/kiwiirc/client.json" +chown root: "/etc/kiwiirc/client.json" #================================================= # NGINX CONFIGURATION