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:
parent
eb07777858
commit
55826d9bc2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue