diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2015-04-16 13:40:57 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2015-04-16 13:40:57 +0000 |
commit | 23dd981fbc421e08cac794fe2ce8e520d948bf09 (patch) | |
tree | 5339c08bdf5a719a83f921626ac6c2006227d933 /usr.sbin/pkg_add/pkg.conf.5 | |
parent | d450dcd06c086187394ee3bcd4ba8fa73b5d37e1 (diff) |
document % sequences.
Diffstat (limited to 'usr.sbin/pkg_add/pkg.conf.5')
-rw-r--r-- | usr.sbin/pkg_add/pkg.conf.5 | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg.conf.5 b/usr.sbin/pkg_add/pkg.conf.5 index c25df168d85..92fad96ec77 100644 --- a/usr.sbin/pkg_add/pkg.conf.5 +++ b/usr.sbin/pkg_add/pkg.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg.conf.5,v 1.5 2012/10/11 17:35:45 sthen Exp $ +.\" $OpenBSD: pkg.conf.5,v 1.6 2015/04/16 13:40:56 espie Exp $ .\" .\" Copyright (c) 2010 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: October 11 2012 $ +.Dd $Mdocdate: April 16 2015 $ .Dt PKG.CONF 5 .Os .Sh NAME @@ -70,6 +70,22 @@ URL to package repository updated during installation. Used for accessing packages if the environment variable .Ev PKG_PATH is not defined and no further options are defined. +.Pp +Special sequences +.Sq %c , +.Sq %v , +.Sq %a +will be expanded to +.Sq OS version or snapshots , +.Sq OS version , +and +.Sq package architecture +respectively, e.g, +.Bd -literal -offset indent +installpath = http://somesite/pub/OpenBSD/%c/packages/%a/ +.Ed +.Pp +should work. .It Ar nochecksum Set to .Ar yes |