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>2018-08-31 16:19:42 +0300
committernacho <nacho@ownyourbits.com>2018-09-13 03:54:15 +0300
commit6e1a1a91b3d590262b58e08c9211fdfc73957c97 (patch)
treefdd57dad205c24ba65b420da0b1e1b8e48153f04
parente25f5d18628047c7b33fd912c253b01447d766fb (diff)
build: add imagick for galleryv0.59.3
-rw-r--r--etc/ncp-config.d/nc-nextcloud.sh3
-rwxr-xr-xupdate.sh7
2 files changed, 9 insertions, 1 deletions
diff --git a/etc/ncp-config.d/nc-nextcloud.sh b/etc/ncp-config.d/nc-nextcloud.sh
index f1ea15c2..ed7a3b71 100644
--- a/etc/ncp-config.d/nc-nextcloud.sh
+++ b/etc/ncp-config.d/nc-nextcloud.sh
@@ -40,7 +40,8 @@ install()
# Optional packets for Nextcloud and Apps
apt-get update
$APTINSTALL lbzip2 iputils-ping
- $APTINSTALL php-smbclient
+ $APTINSTALL php-smbclient # for external storage
+ $APTINSTALL php-imagick imagemagick-6-common # for gallery
# POSTFIX
$APTINSTALL postfix || {
diff --git a/update.sh b/update.sh
index 2a5fc11e..582eb677 100755
--- a/update.sh
+++ b/update.sh
@@ -287,6 +287,13 @@ EOF
[[ "$( ls -l /etc/php/7.0/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.0/fpm/conf.d/*-opcache.ini | tail -1 )"
[[ "$( ls -l /etc/php/7.0/cli/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.0/cli/conf.d/*-opcache.ini | tail -1 )"
+ # faster previews
+ [[ -f /etc/php/7.0/mods-available/imagick.ini ]] || {
+ apt-get update
+ apt-get install -y --no-install-recommends php-imagick imagemagick-6-common
+ }
+
+
} # end - only live updates
exit 0