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:
committed by
Joshua Tauberer
parent
4b7d4ba0a6
commit
44d9f6eebd
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user