Fix is_webapp detection for apps using helpers 2.1 ?

This commit is contained in:
Alexandre Aubin 2024-08-31 14:40:33 +02:00
parent 3574b59169
commit ab4472e734

View file

@ -164,7 +164,7 @@ def build_test_list(basedir: Path) -> dict[str, dict[str, Any]]:
is_webapp = (
os.system(
f"grep -q '^ynh_add_nginx_config\|^ynh_nginx_add_config' '{str(basedir)}/scripts/install'"
f"grep -q '^ynh_add_nginx_config\|^ynh_nginx_add_config\|^ynh_config_add_nginx' '{str(basedir)}/scripts/install'"
)
== 0
)