From bc6dcbc3efb66e85b47cb7f63c85191dc089923e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andri=20=C3=93skarsson?= Date: Sat, 20 Jul 2019 08:34:41 +0200 Subject: [PATCH] Adds support to Elementary OS Loki Loki is based off Ubuntu Xenial and this worked fine on my machine. --- preinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preinstall.sh b/preinstall.sh index 7547f23..7eda626 100755 --- a/preinstall.sh +++ b/preinstall.sh @@ -125,7 +125,7 @@ if [ $enable_openslide -eq 1 ] && [ -z $vips_with_openslide ] && [ $openslide_ex DISTRO=$(lsb_release -c -s) echo "Detected Debian Linux '$DISTRO'" case "$DISTRO" in - jessie|vivid|wily|xenial|stretch) + jessie|vivid|wily|xenial|stretch|loki) # Debian 9, Debian 8, Ubuntu 15 echo "Installing libopenslide via apt-get" apt-get install -y libopenslide-dev @@ -209,7 +209,7 @@ if [ -f /etc/debian_version ]; then DISTRO=$(lsb_release -c -s) echo "Detected Debian Linux '$DISTRO'" case "$DISTRO" in - jessie|trusty|utopic|vivid|wily|xenial|qiana|rebecca|rafaela|freya|rosa|sarah|serena) + jessie|trusty|utopic|vivid|wily|xenial|qiana|rebecca|rafaela|freya|rosa|sarah|serena|loki) # Debian 8, Ubuntu 14.04+, Mint 17+ echo "Installing libvips dependencies via apt-get" apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev libgsf-1-dev liblcms2-dev libxml2-dev swig libmagickcore-dev curl