diff options
author | mattack108 <matt.lenc@gmail.com> | 2013-09-20 12:27:16 +0100 |
---|---|---|
committer | mattack108 <matt.lenc@gmail.com> | 2013-09-20 12:27:16 +0100 |
commit | fd094c967e6078316bfd30fc2d04581ae29d1bc6 (patch) | |
tree | 469e192418c735a12e870030d7ca7b5d2568b03b /before_script.sh | |
parent | 9bb65daec0a23932c2ab096dddc9ea7c0c5b30dd (diff) | |
download | django-wkhtmltopdf-fd094c967e6078316bfd30fc2d04581ae29d1bc6.tar.gz django-wkhtmltopdf-fd094c967e6078316bfd30fc2d04581ae29d1bc6.tar.bz2 django-wkhtmltopdf-fd094c967e6078316bfd30fc2d04581ae29d1bc6.zip |
symlink is probably required
Diffstat (limited to 'before_script.sh')
-rwxr-xr-x | before_script.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/before_script.sh b/before_script.sh index 2197417..fbc1bc9 100755 --- a/before_script.sh +++ b/before_script.sh @@ -4,5 +4,6 @@ sudo apt-get install -y openssl build-essential xorg libssl-dev wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2 tar xvjf wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2 sudo chown root:root wkhtmltopdf-amd64 -export WKHTMLTOPDF_CMD=`pwd`/wkhtmltopdf-amd64 +sudo ln -s wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf +export WKHTMLTOPDF_CMD=/usr/bin/wkhtmltopdf $WKHTMLTOPDF_CMD --version |