1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kiwiirc_ynh.git synced 2024-09-03 19:35:59 +02:00

Update install

This commit is contained in:
ericgaspar 2022-02-03 21:58:58 +01:00
parent 3610706cb6
commit 03ee3b8145

View file

@ -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