Skip to content

Commit

Permalink
#9: Adds a command exit on find commands in the cache clear command
Browse files Browse the repository at this point in the history
  • Loading branch information
fubarhouse committed Oct 24, 2018
1 parent 206d981 commit bcc3c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
- name: clear cache
shell: "{{ item }}"
with_items:
- 'sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {}'
- 'sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm -rf {}'
- 'sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \;'
- 'sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm -rf {} \;'
- 'sudo rm -rf /Library/Caches/com.apple.iconservices.store'

- name: restart dock
Expand Down

0 comments on commit bcc3c42

Please sign in to comment.