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

Merge pull request #156 from venetanji/master

wkhtmltox for trusty works ok on later versions of ubuntu
This commit is contained in:
Rushabh Mehta 2015-11-09 14:22:27 +05:30
commit f8d7806b11

View File

@ -237,9 +237,9 @@ install_wkhtmltopdf_centos () {
}
install_wkhtmltopdf_deb () {
if [[ $OS_VER == "utopic" || $OS_VER == "vivid" ]]; then
echo "Cannot install wkhtmltodpdf. Skipping..."
return 0
if [[ $OS_VER == "utopic" || $OS_VER == "vivid" || $OS_VER == "wily" ]]; then
echo "Installing wkhtmltox package for trusty (Ubuntu 14.4) even if you are using $OS_VER."
WK_VER="trusty"
fi
if [[ $OS == "debian" && $OS_VER == "7" ]]; then
WK_VER="wheezy"