summaryrefslogtreecommitdiffstats
path: root/docker-entrypoint.sh
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-06-22 18:22:15 +0200
committerJ0WI <J0WI@users.noreply.github.com>2019-06-22 18:22:15 +0200
commita87f914de35bb3bc7a54bf62fd2c3b8bff512bc2 (patch)
treea9b4152b09cf032641892298ddb5722c98b023e2 /docker-entrypoint.sh
parentdf048873ab32ed3dc226bef48c0c22e3590c7386 (diff)
Avoid empty table prefix
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'docker-entrypoint.sh')
-rwxr-xr-xdocker-entrypoint.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 78bd0a8d..0be9d287 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -73,8 +73,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
if [ -n "${NEXTCLOUD_TABLE_PREFIX+x}" ]; then
# shellcheck disable=SC2016
install_options=$install_options' --database-table-prefix "$NEXTCLOUD_TABLE_PREFIX"'
- else
- install_options=$install_options' --database-table-prefix ""'
fi
if [ -n "${NEXTCLOUD_DATA_DIR+x}" ]; then
# shellcheck disable=SC2016
@@ -82,7 +80,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi
install=false
- if [ -n "${SQLITE_DATABASE+x}" ]; then
+ if [ -n "${SQLITE_DATABASE+x}" ]; then
echo "Installing with SQLite database"
# shellcheck disable=SC2016
install_options=$install_options' --database-name "$SQLITE_DATABASE"'