From 3610706cb68d76c8bc4be1f6b42527e200479ab4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Feb 2022 21:56:12 +0100 Subject: [PATCH] Update install --- scripts/install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index b639d73..12c68aa 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/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" +ynh_add_config --template="../conf/client.json.example" --destination="/etc/kiwiirc/client.json" -# chmod 600 "/etc/kiwiirc/config.conf" -# chown root: "/etc/kiwiirc/config.conf" -# chmod 600 "/etc/kiwiirc/client.json" -# chown root: "/etc/kiwiirc/client.json" +chmod 600 "/etc/kiwiirc/config.conf" +chown root: "/etc/kiwiirc/config.conf" +chmod 600 "/etc/kiwiirc/client.json" +chown root: "/etc/kiwiirc/client.json" #================================================= # NGINX CONFIGURATION