diff --git a/fleacollar.sh b/fleacollar.sh index 56a3ea0..4a1166c 100755 --- a/fleacollar.sh +++ b/fleacollar.sh @@ -199,9 +199,7 @@ EOF echo 'video/*; mpv --quiet --no-video %s; needsterminal' >> "$muttHome/mailcap" fi if ! [ -f "$muttHome/gpg.rc" ]; then - if ! cp "/usr/share/doc/mutt/samples/gpg.rc" "$muttHome/" ; then - find /usr -name gpg.rc -exec cp "{}" "$muttHome/" \; 2> /dev/null - fi + find /usr -name gpg.rc -exec cp "{}" "$muttHome/" \; 2> /dev/null echo "set pgp_autosign=yes" >> "$muttHome/gpg.rc" echo "set crypt_autosign=yes" >> "$muttHome/gpg.rc" echo "set pgp_replyencrypt=yes" >> "$muttHome/gpg.rc"