1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-30 21:07:23 +02:00

Fixed SC2236: Use -n instead of ! -z.

This commit is contained in:
Teal Dulcet
2023-12-21 08:06:26 -08:00
committed by Joshua Tauberer
parent 4b7d4ba0a6
commit 44d9f6eebd
3 changed files with 6 additions and 6 deletions

View File

@@ -194,7 +194,7 @@ if [ ! -d /usr/local/lib/owncloud/ ] || [[ ! ${CURRENT_NEXTCLOUD_VER} =~ ^$nextc
fi
# If ownCloud or Nextcloud was previously installed....
if [ ! -z "${CURRENT_NEXTCLOUD_VER}" ]; then
if [ -n "${CURRENT_NEXTCLOUD_VER}" ]; then
# Database migrations from ownCloud are no longer possible because ownCloud cannot be run under
# PHP 7.