add ynh_composer_version in _common.sh

This commit is contained in:
Boudewijn 2025-02-26 22:22:37 +01:00
parent 717d17545a
commit 21de0157b2
2 changed files with 2 additions and 1 deletions

View file

@ -3,3 +3,4 @@
#=================================================
# COMMON VARIABLES AND CUSTOM HELPERS
#=================================================
composer_version="2.5.5"

View file

@ -32,7 +32,7 @@ source /usr/share/yunohost/helpers
# wbk fixme - check whether one of these work
#ynh_composer_version = "2.2.0"
ynh_app_setting_set --key=YNH_COMPOSER_VERSION --value=$(composer --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
#ynh_app_setting_set --key=YNH_COMPOSER_VERSION --value=$(composer --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE