From 801adf8e9ea728fc9bc153cf3080fa5ed8cc1249 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 23 Mar 2018 17:06:31 +0000 Subject: [PATCH] install gs manually --- services/filestore/install_deps.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/services/filestore/install_deps.sh b/services/filestore/install_deps.sh index dceb2a7d8a..4861bcfd3f 100755 --- a/services/filestore/install_deps.sh +++ b/services/filestore/install_deps.sh @@ -1,4 +1,11 @@ #!/bin/sh -apt-get install poppler-utils vim ghostscript imagemagick optipng --yes +apt-get update + +apt-get install vim imagemagick optipng --yes + +wget https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz /tmp/ghostscript-9.15.tar.gz +tar -xvf /tmp/ghostscript-9.15.tar.gz +cd /tmp/ghostscript-9.15 && ./configure && make && make install + npm rebuild chown -R node:node /app/uploads