Update ynh_lxd_package_check

This commit is contained in:
yalh76 2022-10-24 00:57:43 +02:00
parent 0206677353
commit 6054f9841f

View file

@ -235,12 +235,12 @@ ynh_lxc_pc_create () {
# Create a snapshot of an LXC container # Create a snapshot of an LXC container
# #
# usage: ynh_lxc_pc_snapshot_create --name=LXC_NAME --snapname= --name=name --snapname=snapname # usage: ynh_lxc_pc_snapshot_create --name=name --snapname=snapname
# | arg: -n, --name= - name of the LXC # | arg: -n, --name= - name of the LXC
# | arg: -s, --snapname= - name of the snapshot # | arg: -s, --snapname= - name of the snapshot
# #
# Requires YunoHost version *.*.* or higher. # Requires YunoHost version *.*.* or higher.
ynh_lxc_pc_snapshot_create --name=LXC_NAME --snapname= () { ynh_lxc_pc_snapshot_create () {
# Declare an array to define the options of this helper. # Declare an array to define the options of this helper.
local legacy_args=ns local legacy_args=ns
local -A args_array=([n]=name= [s]=snapname=) local -A args_array=([n]=name= [s]=snapname=)