mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-04-27 00:00:25 +08:00
Account for missing install
Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
parent
8e814fad1a
commit
19ffc43845
@ -63,7 +63,7 @@ if vergt "${installed_version}" "${image_version}"; then
|
||||
fi
|
||||
|
||||
# initialize nextcloud
|
||||
if vergt "${image_version}" "${installed_version}" || [ -f /tmp/migration ]; then
|
||||
if vergt "${image_version}" "${installed_version}" || [ -z "$(ls -A /app/www/public/core/ 2>/dev/null)" ] || [ -f /tmp/migration ]; then
|
||||
echo "Initializing nextcloud ${image_version} ..."
|
||||
if [ "${installed_version}" != "0.0.0.0" ]; then
|
||||
echo "Upgrading nextcloud from ${installed_version} ..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user