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:
parent
48cdcfa0a0
commit
d5003e1944
@ -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 }}"
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user