helpers2.1: fix bad syntax in ynh_app_upstream_version

This commit is contained in:
Alexandre Aubin 2024-06-23 20:04:17 +02:00
parent d8c3ff4c8a
commit 30467f8bc3

View file

@ -460,7 +460,7 @@ ynh_read_manifest() {
# #
# Requires YunoHost version 3.5.0 or higher. # Requires YunoHost version 3.5.0 or higher.
ynh_app_upstream_version() { ynh_app_upstream_version() {
echo "${$YNH_APP_MANIFEST_VERSION/~ynh*/}" echo "${YNH_APP_MANIFEST_VERSION/~ynh*/}"
} }
# Return 0 if the "upstream" part of the version changed, or 1 otherwise (ie only the ~ynh suffix changed) # Return 0 if the "upstream" part of the version changed, or 1 otherwise (ie only the ~ynh suffix changed)