2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00

fix: dir permissions

This commit is contained in:
Saurabh 2019-06-14 15:14:21 +05:30
parent 48cdcfa0a0
commit d5003e1944
4 changed files with 6 additions and 3 deletions

View File

@ -39,6 +39,9 @@
- name: setup bench and dev environment
hosts: localhost
become: '{{ use_sudo }}'
become_user: '{{ frappe_user }}'
become_method: sudo
vars:
bench_repo_path: "/home/{{ frappe_user }}/.bench"
bench_path: "/home/{{ frappe_user }}/{{ bench_name }}"

View File

@ -33,7 +33,7 @@ def install_virtualbox():
check_output(['bench', 'install', 'virtualbox'])
def install_packer():
if not spawn.find_executable("packer") or not os.path.exists(os.path.join('/', 'opt', 'packer')):
if not spawn.find_executable("packer") and not os.path.exists(os.path.join('/', 'opt', 'packer')):
check_output(['bench', 'install', 'packer'])
def silent_remove(name, is_dir=False):