mutt: Add mutt-folder helper script

This commit is contained in:
Timo Makinen 2021-10-03 15:46:43 +00:00
parent 096ac843c4
commit 4892acc8fc
2 changed files with 17 additions and 0 deletions

9
mutt/files/mutt-folder.sh Executable file
View 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"

View file

@ -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 }}"