mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Keep helpers consistent
This commit is contained in:
parent
fe6333d2d2
commit
7a0aa851a6
1 changed files with 2 additions and 1 deletions
|
@ -576,9 +576,10 @@ ynh_app_upstream_version () {
|
||||||
# Declare an array to define the options of this helper.
|
# Declare an array to define the options of this helper.
|
||||||
local legacy_args=m
|
local legacy_args=m
|
||||||
local -A args_array=( [m]=manifest= )
|
local -A args_array=( [m]=manifest= )
|
||||||
local manifest=""
|
local manifest
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
manifest="${manifest:-}"
|
||||||
|
|
||||||
if [[ "$manifest" != "" ]] && [[ -e "$manifest" ]];
|
if [[ "$manifest" != "" ]] && [[ -e "$manifest" ]];
|
||||||
then
|
then
|
||||||
|
|
Loading…
Add table
Reference in a new issue