mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Rename variable
This commit is contained in:
parent
3d51e235e8
commit
fec5d3d084
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ ynh_compare_package_version() {
|
|||
# Manage arguments with getopts
|
||||
ynh_handle_getopts_args "$@"
|
||||
|
||||
local current_version=$YNH_APP_OLD_VERSION
|
||||
local current_version=$YNH_APP_CURRENT_VERSION
|
||||
|
||||
# Check the syntax of the versions
|
||||
if [[ ! $version =~ '~ynh' ]] || [[ ! $current_version =~ '~ynh' ]]
|
||||
|
|
Loading…
Add table
Reference in a new issue