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

27 lines
721 B
Text
Raw Permalink Normal View History

2022-05-14 11:23:52 +02:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
2024-08-23 15:13:10 +02:00
ynh_script_progression "Setting up source files..."
2022-05-14 11:23:52 +02:00
2023-05-02 22:34:32 +02:00
ynh_setup_source --dest_dir="$install_dir"
2022-05-14 11:23:52 +02:00
#=================================================
2024-08-23 15:13:10 +02:00
# SYSTEM CONFIGURATION
2022-05-14 11:23:52 +02:00
#=================================================
2024-08-23 15:13:10 +02:00
ynh_script_progression "Adding system configurations related to $app..."
2022-05-14 11:23:52 +02:00
2024-08-23 15:13:10 +02:00
ynh_config_add_nginx
2022-05-14 11:23:52 +02:00
2024-08-23 15:13:10 +02:00
ynh_config_add_phpfpm
2022-05-14 11:23:52 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2024-08-23 15:13:10 +02:00
ynh_script_progression "Installation of $app completed"