2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Fix wkhtmltopdf URL

This commit is contained in:
Pratik Vyas 2015-05-04 11:09:25 +05:30
parent 6b5c9dbaba
commit a6140d7d40

View File

@ -210,7 +210,7 @@ install_wkhtmltopdf_centos () {
return 0
fi
RPM="wkhtmltox-0.12.2.1_linux-$OS$OS_VER-$WK_ARCH.rpm"
run_cmd wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/$RPM
run_cmd wget http://downloads.sourceforge.net/wkhtmltopdf/0.12.2.1/$RPM
rpm --quiet -q wkhtmltox || run_cmd rpm -Uvh $RPM
}
@ -224,7 +224,7 @@ install_wkhtmltopdf_deb () {
else
WK_VER=$OS_VER
fi
run_cmd wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-$WK_VER-$WK_ARCH.deb
run_cmd wget http://downloads.sourceforge.net/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-$WK_VER-$WK_ARCH.deb
run_cmd dpkg -i wkhtmltox-0.12.2.1_linux-$WK_VER-$WK_ARCH.deb
}