pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52026: misc/ansiweather: Should honour ~/.ansiweatherrc, like upstream



>Number:         52026
>Category:       pkg
>Synopsis:       misc/ansiweather: Should honour ~/.ansiweatherrc, like upstream
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 18:10:00 +0000 2017
>Originator:     Michael-John Turner
>Release:        current
>Organization:
>Environment:
Darwin tesla.xx.yy 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
>Description:
Upstream ansiweather allows for a configuration file to exist in the user's home directory. pkgsrc changes this behaviour so that only a system-wide configuration file is read.

The pkgsrc behaviour surprised me. Perhaps a better solution would be to check if the user has a configuration file and use that, otherwise use the system-wide configuration?

>How-To-Repeat:
1) Create ~/.ansiweatherrc
2) Run ansiweather
3) Configuration file is ignored
>Fix:
See above for a suggestion.



Home | Main Index | Thread Index | Old Index