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-08-19 00:34:25 +0300
committernachoparker <nacho@ownyourbits.com>2019-08-19 00:34:25 +0300
commit3a3b709fd91e56319e0dbc03d7e16f69db27314b (patch)
tree5c9ff9709585a3204a4a30a87403f7c17a4c3be0
parent8b8779f650097663c843fa0ef7d759bb8bee99be (diff)
nc-previews: tweak config
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--bin/ncp/CONFIG/nc-init.sh1
-rw-r--r--updates/1.16.0.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/ncp/CONFIG/nc-init.sh b/bin/ncp/CONFIG/nc-init.sh
index 486c7dea..d488a680 100644
--- a/bin/ncp/CONFIG/nc-init.sh
+++ b/bin/ncp/CONFIG/nc-init.sh
@@ -164,6 +164,7 @@ EOF
ncc config:system:set preview_max_x --value 2048
ncc config:system:set preview_max_y --value 2048
ncc config:system:set jpeg_quality --value 60
+ ncc config:app:set preview jpeg_quality --value="60"
# other
ncc config:system:set overwriteprotocol --value=https
diff --git a/updates/1.16.0.sh b/updates/1.16.0.sh
index 25fd8525..f6c17740 100644
--- a/updates/1.16.0.sh
+++ b/updates/1.16.0.sh
@@ -15,6 +15,9 @@ apt-get install -y --no-install-recommends php-smbclient exfat-fuse exfat-utils
# install lsb-release
apt-get install -y --no-install-recommends lsb-release
+# tweak previews
+ncc config:app:set preview jpeg_quality --value="60"
+
# missed some sources
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* &>/dev/null || true