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

Update scripts/_common.sh: fix upstream version parsing because we can't use helper in global scope in _common.sh

This commit is contained in:
Alexandre Aubin 2024-05-02 16:57:45 +02:00 committed by GitHub
parent eb07777858
commit 55826d9bc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
BORG_VERSION=$(ynh_app_upstream_version)
BORG_VERSION=$(cat $YNH_APP_BASEDIR/manifest.toml | grep "^version" | grep -oE "[0-9.]{2,}")
#=================================================
# PERSONAL HELPERS