2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 08:30:39 +00:00

Update setup_frappe.sh

Fixed the setup_frappe.sh file to support new Debian 8 "Jessie".
This commit is contained in:
SEISIGMA SRL 2015-07-02 18:27:43 -04:00 committed by Anand Doshi
parent 798d485cc1
commit 4c50d468ca

View File

@ -124,9 +124,10 @@ add_ubuntu_mariadb_repo() {
add_debian_mariadb_repo() {
if [ $OS_VER == "7" ]; then
CODENAME="wheezy"
elif [ $OS_VER == "6" ]; then
CODENAME="squeeze"
elif [ $OS_VER == "8" ]; then
CODENAME="jessie"
else
echo Unsupported Debian Version
exit 1
@ -245,6 +246,8 @@ install_wkhtmltopdf_deb () {
fi
if [[ $OS == "debian" && $OS_VER == "7" ]]; then
WK_VER="wheezy"
elif [[ $OS == "debian" && $OS_VER == "8" ]]; then
WK_VER="jessie"
fi
run_cmd wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-$WK_VER-$WK_ARCH.deb