]> granicus.if.org Git - mutt/commitdiff
Change sample muttrc path to match other manual references.
authorKevin McCarthy <kevin@8t8.us>
Thu, 9 May 2019 20:25:25 +0000 (13:25 -0700)
committerKevin McCarthy <kevin@8t8.us>
Thu, 9 May 2019 20:25:25 +0000 (13:25 -0700)
The other parts of the manual refer to /usr/local/share/doc in their
examples.  For consistency, change the starter muttrc and manual entry
to do the same.

In the future, we may wish to have a config variable instead, so users
don't have to worry about system vs locally installed paths when
sourcing the gpg.rc, for instance.

contrib/sample.muttrc-starter
doc/manual.xml.head

index 4cbf5a6a74702a371c3dea2dffc95acc6f7f6949..fbc1f9069387c1386abd64880969f9e5e7166a15 100644 (file)
@@ -100,7 +100,7 @@ set query_command = "/usr/bin/lbdbq"
 # GnuPG
 #
 unset crypt_use_gpgme
-source /usr/share/doc/mutt/samples/gpg.rc
+source /usr/local/share/doc/mutt/samples/gpg.rc
 set pgp_default_key = "0x1234567890ABCDEF"
 set crypt_opportunistic_encrypt
 set postpone_encrypt
index 35c9c305203a046178490a5f93ad4d8350749d9f..7f3640298d817118681763b448d3a72fc9fe81ea 100644 (file)
@@ -1868,18 +1868,18 @@ GnuPG project's GPGME library.
 To enable <quote>classic mode</quote>, ensure GPGME is disabled and
 use the <literal>gpg.rc</literal> or <literal>smime.rc</literal> files
 that come with mutt.  These are typically installed under
-<literal>/usr/share/doc/mutt/samples/</literal>.  Source them, either
+<literal>/usr/local/share/doc/mutt/samples/</literal>.  Source them, either
 directly or by copying them to your .mutt directory and sourcing them.
 Sourcing them directly from
-<literal>/usr/share/doc/mutt/samples/</literal> has the benefit of
+<literal>/usr/local/share/doc/mutt/samples/</literal> has the benefit of
 automatically using fixes and security improvements to the command
 invocations, and is recommended.
 </para>
 
 <screen>
 unset crypt_use_gpgme
-source /usr/share/doc/mutt/samples/gpg.rc
-source /usr/share/doc/mutt/samples/smime.rc
+source /usr/local/share/doc/mutt/samples/gpg.rc
+source /usr/local/share/doc/mutt/samples/smime.rc
 </screen>
 
 <para>