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
|
||||
ynh_psql_database_exists() {
|
||||
# Declare an array to define the options of this helper.
|
||||
local legacy_args=u
|
||||
declare -Ar args_array=([u]=database=)
|
||||
local legacy_args=d
|
||||
declare -Ar args_array=([d]=database=)
|
||||
local database
|
||||
# Manage arguments with getopts
|
||||
ynh_handle_getopts_args "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue