mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 15:38:25 +00:00
Update setup_frappe.sh
Fixed the setup_frappe.sh file to support new Debian 8 "Jessie".
This commit is contained in:
parent
798d485cc1
commit
4c50d468ca
@ -124,9 +124,10 @@ add_ubuntu_mariadb_repo() {
|
|||||||
add_debian_mariadb_repo() {
|
add_debian_mariadb_repo() {
|
||||||
if [ $OS_VER == "7" ]; then
|
if [ $OS_VER == "7" ]; then
|
||||||
CODENAME="wheezy"
|
CODENAME="wheezy"
|
||||||
|
|
||||||
elif [ $OS_VER == "6" ]; then
|
elif [ $OS_VER == "6" ]; then
|
||||||
CODENAME="squeeze"
|
CODENAME="squeeze"
|
||||||
|
elif [ $OS_VER == "8" ]; then
|
||||||
|
CODENAME="jessie"
|
||||||
else
|
else
|
||||||
echo Unsupported Debian Version
|
echo Unsupported Debian Version
|
||||||
exit 1
|
exit 1
|
||||||
@ -245,6 +246,8 @@ install_wkhtmltopdf_deb () {
|
|||||||
fi
|
fi
|
||||||
if [[ $OS == "debian" && $OS_VER == "7" ]]; then
|
if [[ $OS == "debian" && $OS_VER == "7" ]]; then
|
||||||
WK_VER="wheezy"
|
WK_VER="wheezy"
|
||||||
|
elif [[ $OS == "debian" && $OS_VER == "8" ]]; then
|
||||||
|
WK_VER="jessie"
|
||||||
fi
|
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user