Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-03-10 03:47:12 +0300
committernachoparker <nacho@ownyourbits.com>2019-03-11 08:39:01 +0300
commit89cc0425a7b51792f8de78be0539672928b21809 (patch)
tree11b7fa623a465bcb76c508cb35493e4be0132cf3 /update.sh
parent0c95243d8f16364bb0a60760b9460bcf4ebd7aab (diff)
nc-init: previews settingsv1.9.5
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 8f2e4f18..d3ac642a 100755
--- a/update.sh
+++ b/update.sh
@@ -198,6 +198,12 @@ EOF
bash -c "sleep 3 && service php$PHPVER-fpm restart" &
}
+ # previews settings
+ ncc config:app:set previewgenerator squareSizes --value="32"
+ ncc config:app:set previewgenerator widthSizes --value="128 256 512"
+ ncc config:app:set previewgenerator heightSizes --value="128 256"
+ ncc config:system:set jpeg_quality --value 60
+
# update unattended labels
is_active_app unattended-upgrades && run_app unattended-upgrades