Browse Source

install gs manually

Henry Oswald 8 years ago
parent
commit
801adf8e9e
1 changed files with 8 additions and 1 deletions
  1. 8 1
      services/filestore/install_deps.sh

+ 8 - 1
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