Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 03:56:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191800] New: [PATCH] fortune(6): fix default search path
Message-ID:  <bug-191800-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: akosela@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191800-8>