mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
Update setup_frappe.sh
This commit is contained in:
parent
d5fff8af7b
commit
80dbb669f0
@ -200,8 +200,8 @@ install_wkhtmltopdf_centos () {
|
|||||||
echo "Cannot install wkhtmltodpdf. Skipping..."
|
echo "Cannot install wkhtmltodpdf. Skipping..."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
RPM="wkhtmltox-0.12.1_linux-$OS$OS_VER-$WK_ARCH.rpm"
|
RPM="wkhtmltox-0.12.2_linux-$OS$OS_VER-$WK_ARCH.rpm"
|
||||||
run_cmd wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/$RPM
|
run_cmd wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2/$RPM
|
||||||
rpm --quiet -q wkhtmltox || run_cmd rpm -Uvh $RPM
|
rpm --quiet -q wkhtmltox || run_cmd rpm -Uvh $RPM
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -215,8 +215,8 @@ install_wkhtmltopdf_deb () {
|
|||||||
else
|
else
|
||||||
WK_VER=$OS_VER
|
WK_VER=$OS_VER
|
||||||
fi
|
fi
|
||||||
run_cmd wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-$WK_VER-$WK_ARCH.deb
|
run_cmd wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2/wkhtmltox-0.12.2_linux-$WK_VER-$WK_ARCH.deb
|
||||||
run_cmd dpkg -i wkhtmltox-0.12.1_linux-$WK_VER-$WK_ARCH.deb
|
run_cmd dpkg -i wkhtmltox-0.12.2_linux-$WK_VER-$WK_ARCH.deb
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user