mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Don't force value for args ending with 'user' to package_check, because most of the time that's in fact breaking tests
This commit is contained in:
parent
d5dcbdd8be
commit
59f17c48ab
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@ _INSTALL_APP () {
|
||||||
# Make sure we have a trailing & because that assumption is used in some sed regex later
|
# Make sure we have a trailing & because that assumption is used in some sed regex later
|
||||||
[[ ${install_args: -1} == '&' ]] || install_args+="&"
|
[[ ${install_args: -1} == '&' ]] || install_args+="&"
|
||||||
|
|
||||||
# We have default values for domain, user and is_public, but these
|
# We have default values for domain, admin and is_public, but these
|
||||||
# may still be overwritten by the args ($@)
|
# may still be overwritten by the args ($@)
|
||||||
for arg_override in "domain=$SUBDOMAIN" "admin=$TEST_USER" "user=$TEST_USER" "is_public=1" "$@"
|
for arg_override in "domain=$SUBDOMAIN" "admin=$TEST_USER" "is_public=1" "$@"
|
||||||
do
|
do
|
||||||
key="$(echo $arg_override | cut -d '=' -f 1)"
|
key="$(echo $arg_override | cut -d '=' -f 1)"
|
||||||
value="$(echo $arg_override | cut -d '=' -f 2-)"
|
value="$(echo $arg_override | cut -d '=' -f 2-)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue