mirror of
https://github.com/YunoHost-Apps/cyberchef_ynh.git
synced 2024-09-03 18:16:31 +02:00
add placeholder for nginx.conf & update install, upgrade & change_url scripts accordingly
This commit is contained in:
parent
28927e666f
commit
b71fe932ae
4 changed files with 11 additions and 1 deletions
|
@ -4,7 +4,7 @@ location __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __INSTALL_DIR__/;
|
alias __INSTALL_DIR__/;
|
||||||
|
|
||||||
index CyberChef_v9.55.0.html;
|
index __INDEX_PAGE__;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
upstream_version=$(ynh_app_upstream_version)
|
||||||
|
index_page="CyberChef_v${upstream_version}.html"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
upstream_version=$(ynh_app_upstream_version)
|
||||||
|
index_page="CyberChef_v${upstream_version}.html"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC)
|
# APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC)
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -11,6 +11,9 @@ source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
upstream_version=$(ynh_app_upstream_version)
|
||||||
|
index_page="CyberChef_v${upstream_version}.html"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD, ETC...)
|
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD, ETC...)
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -30,6 +33,7 @@ chown -R $app:www-data "$install_dir"
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=4
|
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=4
|
||||||
|
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
Loading…
Add table
Reference in a new issue