mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix missing legacy_args
Merged as a micro decision
This commit is contained in:
parent
0c67559c43
commit
92b5777aff
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,7 @@ ynh_get_debian_release () {
|
||||||
# | arg: -e, --length= - Length of the error log : Default : 20
|
# | arg: -e, --length= - Length of the error log : Default : 20
|
||||||
ynh_systemd_action() {
|
ynh_systemd_action() {
|
||||||
# Declare an array to define the options of this helper.
|
# Declare an array to define the options of this helper.
|
||||||
|
local legacy_args=nalpte
|
||||||
declare -Ar args_array=( [n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length= )
|
declare -Ar args_array=( [n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length= )
|
||||||
local service_name
|
local service_name
|
||||||
local action
|
local action
|
||||||
|
@ -175,6 +176,7 @@ ynh_clean_check_starting () {
|
||||||
# Requires YunoHost version 3.?.? or higher.
|
# Requires YunoHost version 3.?.? or higher.
|
||||||
ynh_read_manifest () {
|
ynh_read_manifest () {
|
||||||
# Declare an array to define the options of this helper.
|
# Declare an array to define the options of this helper.
|
||||||
|
local legacy_args=mk
|
||||||
declare -Ar args_array=( [m]=manifest= [k]=manifest_key= )
|
declare -Ar args_array=( [m]=manifest= [k]=manifest_key= )
|
||||||
local manifest
|
local manifest
|
||||||
local manifest_key
|
local manifest_key
|
||||||
|
@ -200,6 +202,8 @@ ynh_read_manifest () {
|
||||||
#
|
#
|
||||||
# Requires YunoHost version 3.?.? or higher.
|
# Requires YunoHost version 3.?.? or higher.
|
||||||
ynh_app_upstream_version () {
|
ynh_app_upstream_version () {
|
||||||
|
# Declare an array to define the options of this helper.
|
||||||
|
local legacy_args=m
|
||||||
declare -Ar args_array=( [m]=manifest= )
|
declare -Ar args_array=( [m]=manifest= )
|
||||||
local manifest
|
local manifest
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
|
@ -221,6 +225,8 @@ ynh_app_upstream_version () {
|
||||||
#
|
#
|
||||||
# Requires YunoHost version 3.?.? or higher.
|
# Requires YunoHost version 3.?.? or higher.
|
||||||
ynh_app_package_version () {
|
ynh_app_package_version () {
|
||||||
|
# Declare an array to define the options of this helper.
|
||||||
|
local legacy_args=m
|
||||||
declare -Ar args_array=( [m]=manifest= )
|
declare -Ar args_array=( [m]=manifest= )
|
||||||
local manifest
|
local manifest
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
|
|
Loading…
Add table
Reference in a new issue