On 09/23/14 15:48, Alexander Hall wrote:
> On September 23, 2014 3:00:41 PM CEST, openda...@hushmail.com wrote:
>> Hi,
>>
>> Expanding on the whole
>> http://en.wikipedia.org/wiki/Convention_over_configuration thing --
>> why aren't there any sane PKG_PATH defaults? Ie.:
>>
>> release=$(uname -r)
>> architecture=$(uname -p)
>>
>> export
>> PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/${release}/packages/${architecture}/
> 
> Because /etc/pkg.conf ?
> 

This is something that could be added to /etc/examples. See the
attachment suggesting a first version.


Regards
Harri

# Set to yes if you really want to use the full width of the
# terminal for the progressmeter.
# fullwidth = yes

# pkg_add(1) and pkg_delete(1) will syslog(3) installations,
# updates and deletions by default.  Set to 0 to avoid logging
# entirely.  Levels higher than 1 may log more information in
# the future.
# loglevel = 0

# URL to package repository updated during installation.  Used
# for accessing packages if the environment variable PKG_PATH
# is not defined and no further options are defined.
# installpath = 

# Set to yes to waive checksums during package deletions.
# nochecksum = yes

# Set to yes to display (done/total) number of package
# messages.
# ntogo = yes

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to