mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
Merge pull request #849 from saurabh6790/libssl-fix
fix: setup libssl dependancy by checking distribution
This commit is contained in:
commit
9ff9a0a622
@ -14,7 +14,7 @@ def install_bench(args):
|
||||
success = run_os_command({
|
||||
'apt-get': [
|
||||
'sudo apt-get update',
|
||||
'sudo apt-get install -y git build-essential python3-setuptools python3-dev libffi-dev libssl-dev'
|
||||
'sudo apt-get install -y git build-essential python3-setuptools python3-dev libffi-dev'
|
||||
],
|
||||
'yum': [
|
||||
'sudo yum groupinstall -y "Development tools"',
|
||||
|
@ -21,4 +21,9 @@
|
||||
- tk8.5-dev
|
||||
when: ansible_distribution_version | version_compare('8', 'ge')
|
||||
|
||||
- name: install pdf prerequisites debian
|
||||
apt: pkg={{ item }} state=present force=yes
|
||||
with_items:
|
||||
- libssl-dev
|
||||
|
||||
...
|
@ -12,7 +12,6 @@
|
||||
- libcrypto++-dev
|
||||
- libfreetype6-dev
|
||||
- liblcms2-dev
|
||||
- libssl-dev
|
||||
- libwebp-dev
|
||||
- libxext6
|
||||
- libxrender1
|
||||
|
@ -18,4 +18,17 @@
|
||||
- tk8.6-dev
|
||||
when: ansible_distribution_version | version_compare('14.04', 'ge')
|
||||
|
||||
|
||||
- name: install pdf prerequisites for Ubuntu < 18.04
|
||||
apt: pkg={{ item }} state=present force=yes
|
||||
with_items:
|
||||
- libssl-dev
|
||||
when: ansible_distribution_version | version_compare('18.04', 'lt')
|
||||
|
||||
- name: install pdf prerequisites for Ubuntu >= 18.04
|
||||
apt: pkg={{ item }} state=present force=yes
|
||||
with_items:
|
||||
- libssl1.0-dev
|
||||
when: ansible_distribution_version | version_compare('18.04', 'ge')
|
||||
|
||||
...
|
Loading…
Reference in New Issue
Block a user