mirror of
https://github.com/frappe/bench.git
synced 2025-01-23 15:08:24 +00:00
[fix] updated setup_frappe.sh for ubuntu precise
This commit is contained in:
parent
4ab8e2068e
commit
d918173783
@ -631,9 +631,9 @@ def print_pillow_dependencies():
|
|||||||
print "Please install these dependencies using the command:"
|
print "Please install these dependencies using the command:"
|
||||||
|
|
||||||
if "ubuntu" in distro_name and distro[1]=="12.04":
|
if "ubuntu" in distro_name and distro[1]=="12.04":
|
||||||
print "sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk"
|
print "sudo apt-get install -y libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk"
|
||||||
else:
|
else:
|
||||||
print "sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk"
|
print "sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk"
|
||||||
|
|
||||||
|
|
||||||
def get_output(*cmd):
|
def get_output(*cmd):
|
||||||
|
@ -208,8 +208,13 @@ install_packages() {
|
|||||||
run_cmd sudo apt-get install -y python-dev python-setuptools build-essential python-mysqldb git \
|
run_cmd sudo apt-get install -y python-dev python-setuptools build-essential python-mysqldb git \
|
||||||
ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev \
|
ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev \
|
||||||
libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix nginx \
|
libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix nginx \
|
||||||
supervisor python-pip fontconfig libxrender1 libxext6 xfonts-75dpi xfonts-base nodejs npm \
|
supervisor python-pip fontconfig libxrender1 libxext6 xfonts-75dpi xfonts-base nodejs npm
|
||||||
libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
|
|
||||||
|
if [ $OS_VER == "precise" ]; then
|
||||||
|
run_cmd sudo apt-get install -y libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
|
||||||
|
else
|
||||||
|
run_cmd sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing wkhtmltopdf"
|
echo "Installing wkhtmltopdf"
|
||||||
install_wkhtmltopdf_deb
|
install_wkhtmltopdf_deb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user