1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00
redirect_ynh/scripts/install

27 lines
751 B
Text
Raw Normal View History

2016-06-20 23:43:51 +02:00
#!/bin/bash
2018-05-26 10:27:01 +02:00
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
2016-06-20 23:43:51 +02:00
source _common.sh
2018-05-26 10:27:01 +02:00
source /usr/share/yunohost/helpers
_validate_redirect_uri
2016-06-20 23:43:51 +02:00
2019-05-15 18:42:44 +02:00
#=================================================
# CONFIGURE NGINX
#=================================================
2021-01-23 15:21:17 +01:00
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
2019-05-15 18:42:44 +02:00
mv ../conf/{"nginx-$redirect_type.conf",nginx.conf}
ynh_add_nginx_config
2016-06-20 23:43:51 +02:00
2021-01-23 15:21:17 +01:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Installation of $app completed" --last