Try to make the copy of gpg.rc work on more distros.
This commit is contained in:
parent
c572fbcbc1
commit
267fbbbc9a
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user