mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +00:00
adjust wording of regex for NEXTCLOUD_DATADIR
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
a68b00b126
commit
961f894372
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ if [ -n "$NEXTCLOUD_DATADIR" ]; then
|
||||||
echo "NEXTCLOUD_DATADIR is set to $NEXTCLOUD_DATADIR"
|
echo "NEXTCLOUD_DATADIR is set to $NEXTCLOUD_DATADIR"
|
||||||
elif ! echo "$NEXTCLOUD_DATADIR" | grep -q "^/" || [ "$NEXTCLOUD_DATADIR" = "/" ]; then
|
elif ! echo "$NEXTCLOUD_DATADIR" | grep -q "^/" || [ "$NEXTCLOUD_DATADIR" = "/" ]; then
|
||||||
echo "You've set NEXTCLOUD_DATADIR but not to an allowed value.
|
echo "You've set NEXTCLOUD_DATADIR but not to an allowed value.
|
||||||
The string must start with '/' and must not be equal to '/'.
|
The string must start with '/' and must not be equal to '/'. Also allowed is 'nextcloud_aio_nextcloud_datadir'.
|
||||||
It is set to '$NEXTCLOUD_DATADIR'."
|
It is set to '$NEXTCLOUD_DATADIR'."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue