Ver código fonte

update shell

oubo 6 anos atrás
pai
commit
f8952aff6a
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      data/upgrade/v2.0.0/v2.0.0.sh

+ 1 - 0
data/upgrade/v2.0.0/v2.0.0.sh

@@ -29,6 +29,7 @@ if [ ! -x "$(command -v wkhtmltopdf)"  ]; then
     wget -O /tmp/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz http://mi.lacecdn.com/docker/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
     cd /tmp
     tar xvfJ wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
+    rm -rf /usr/local/wkhtmltox
     mv wkhtmltox /usr/local/
     chmod +x /usr/local/wkhtmltox/bin/wkhtmltopdf
     chmod +x /usr/local/wkhtmltox/bin/wkhtmltoimage