mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix regex syntax
I forgot, that the "-" must be at the end of the regex Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
8c1e1a268e
commit
cbf579df18
1 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ It is set to '$NEXTCLOUD_STARTUP_APPS'."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -n "$NEXTCLOUD_ADDITIONAL_APKS" ]; then
|
if [ -n "$NEXTCLOUD_ADDITIONAL_APKS" ]; then
|
||||||
if ! echo "$NEXTCLOUD_ADDITIONAL_APKS" | grep -q "^[a-z0-9 _-.]\+$"; then
|
if ! echo "$NEXTCLOUD_ADDITIONAL_APKS" | grep -q "^[a-z0-9 ._-]\+$"; then
|
||||||
echo "You've set NEXTCLOUD_ADDITIONAL_APKS but not to an allowed value.
|
echo "You've set NEXTCLOUD_ADDITIONAL_APKS but not to an allowed value.
|
||||||
It needs to be a string. Allowed are small letters a-z, digits 0-9, spaces, hyphens, dots and '_'.
|
It needs to be a string. Allowed are small letters a-z, digits 0-9, spaces, hyphens, dots and '_'.
|
||||||
It is set to '$NEXTCLOUD_ADDITIONAL_APKS'."
|
It is set to '$NEXTCLOUD_ADDITIONAL_APKS'."
|
||||||
|
|
@ -194,7 +194,7 @@ It is set to '$NEXTCLOUD_ADDITIONAL_APKS'."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -n "$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS" ]; then
|
if [ -n "$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS" ]; then
|
||||||
if ! echo "$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS" | grep -q "^[a-z0-9 _-.]\+$"; then
|
if ! echo "$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS" | grep -q "^[a-z0-9 ._-]\+$"; then
|
||||||
echo "You've set NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS but not to an allowed value.
|
echo "You've set NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS but not to an allowed value.
|
||||||
It needs to be a string. Allowed are small letters a-z, digits 0-9, spaces, hyphens, dots and '_'.
|
It needs to be a string. Allowed are small letters a-z, digits 0-9, spaces, hyphens, dots and '_'.
|
||||||
It is set to '$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS'."
|
It is set to '$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS'."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue