https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191800

            Bug ID: 191800
           Summary: [PATCH] fortune(6): fix default search path
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 144568
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144568&action=edit
patch.diff

It seems the default behavior of fortune(6) is not as intended when dealing
with additional fortune mods from ports which install into
/usr/local/share/games/fortune.

sun # pkg info -s fortune-mod-bofh
fortune-mod-bofh-2.0_3         32.1KiB
sun # fortune -f all
___% /usr/share/games/fortune
    ___% freebsd-tips
    ___% murphy
    ___% fortunes
    ___% startrek
    ___% gerrold.limerick
    ___% zippy
    ___% limerick

Attached patch makes fortune(6) search both /usr/share/games/fortune and
/usr/local/share/games/fortune when it is present.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to