Accept install
This commit is contained in:
parent
f673c596c0
commit
70154f87a5
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
apt-get install wkhtmltopdf xvfb
|
apt-get install wkhtmltopdf xvfb -y
|
||||||
echo -e '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/wkhtmltopdf -q $*' > /usr/bin/wkhtmltopdf.sh
|
echo -e '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/wkhtmltopdf -q $*' > /usr/bin/wkhtmltopdf.sh
|
||||||
chmod a+x /usr/bin/wkhtmltopdf.sh
|
chmod a+x /usr/bin/wkhtmltopdf.sh
|
||||||
ln -s /usr/bin/wkhtmltopdf.sh /usr/local/bin/wkhtmltopdf
|
ln -s /usr/bin/wkhtmltopdf.sh /usr/local/bin/wkhtmltopdf
|
||||||
|
|
Reference in a new issue