mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 17:23:48 -05:00
14 lines
No EOL
356 B
Bash
Executable file
14 lines
No EOL
356 B
Bash
Executable file
#!/bin/sh
|
|
apt-get update
|
|
|
|
apt-get install vim imagemagick optipng --yes
|
|
|
|
wget -q https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz -O /tmp/ghostscript-9.15.tar.gz
|
|
cd /tmp
|
|
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
|
|
|
|
echo gs --version |