mutt: Add mutt-folder helper script
This commit is contained in:
parent
096ac843c4
commit
4892acc8fc
2 changed files with 17 additions and 0 deletions
9
mutt/files/mutt-folder.sh
Executable file
9
mutt/files/mutt-folder.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Usage: $(basename "$0") <folder>" >&2
|
||||
exit 1
|
||||
fi
|
||||
mutt -R -f "$1"
|
|
@ -11,3 +11,11 @@
|
|||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: install mutt-folder helper script
|
||||
copy:
|
||||
dest: /usr/local/bin/mutt-folder
|
||||
src: mutt-folder.sh
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue