make msg_box work again

This commit is contained in:
Daniel Hansson 2021-10-03 19:10:17 +02:00 committed by GitHub
parent c28e5968e6
commit 3a045eb04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
lib.sh
View File

@ -1212,7 +1212,7 @@ then
print_text_in_color "$ICyan" "Installing $1..."
# nextcloud_occ not possible here because it uses check_command and will exit if nextcloud_occ fails
installcmd="$(nextcloud_occ_no_check app:install "$1")"
if grep 'not compatible' <<< "$installcmd"
if grep 'dependencies are not fulfilled' <<< "$installcmd"
then
msg_box "The $1 app could not be installed.
It's probably not compatible with $(nextcloud_occ -V).