mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix ynh_psql_database_exists
This commit is contained in:
parent
81bc9987bd
commit
b1b14a399d
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ ynh_psql_user_exists() {
|
||||||
# | arg: -d, --database - the database for which to check existence
|
# | arg: -d, --database - the database for which to check existence
|
||||||
ynh_psql_database_exists() {
|
ynh_psql_database_exists() {
|
||||||
# Declare an array to define the options of this helper.
|
# Declare an array to define the options of this helper.
|
||||||
local legacy_args=u
|
local legacy_args=d
|
||||||
declare -Ar args_array=([u]=database=)
|
declare -Ar args_array=([d]=database=)
|
||||||
local database
|
local database
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
|
Loading…
Add table
Reference in a new issue