From 23dd981fbc421e08cac794fe2ce8e520d948bf09 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 16 Apr 2015 13:40:57 +0000 Subject: document % sequences. --- usr.sbin/pkg_add/pkg.conf.5 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/pkg.conf.5') 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 -- cgit v1.2.3