fix enabling of imaginary

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-08-22 23:14:05 +02:00
parent 7b4876c681
commit 096be7107a

View file

@ -415,7 +415,7 @@ else
fi
# Imaginary
if version_greater "24.0.0.0" "$installed_version"; then
if version_greater "$installed_version" "24.0.0.0"; then
if [ "$IMAGINARY_ENABLED" = 'yes' ]; then
php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary"
php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000"