[Bug 191800] New: [PATCH] fortune(6): fix default search path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 11 03:56:17 UTC 2014


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: freebsd-bugs at FreeBSD.org
          Reporter: akosela at andykosela.com

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.


More information about the freebsd-bugs mailing list