svn commit: r500365 - head/sysutils/etc_os-release

Alexey Dokuchaev danfe at freebsd.org
Mon Apr 29 06:50:26 UTC 2019


On Sun, Apr 28, 2019 at 07:44:50PM +0000, Tobias C. Berner wrote:
> New Revision: 500365
> URL: https://svnweb.freebsd.org/changeset/ports/500365
> 
> Log:
>   sysutils/etc_os-release: fix mixup between VERSION_ID and ID
> 
> ...
>  CATEGORIES=	sysutils kde gnome
>  MASTER_SITES=	#
>  DISTFILES=	#
> @@ -19,8 +20,8 @@ VERSION_ID=	${VERSION:C/^([0-9\.]+).*/\1/}
>  
>  CONTENTS=	'NAME=FreeBSD\0'$\
>  		'VERSION=${VERSION}\0'$\
> -		'ID=${VERSION_ID}\0'$\
> -		'VERSION_ID=freebsd\0'$\
> +		'VERSION_ID=${VERSION_ID}\0'$\
> +		'ID=freebsd\0'$\

Why not ${OPSYS:tl}?

>  		'ANSI_COLIR="0;31"\0'$\

COLIR?

>  		'PRETTY_NAME="FreeBSD ${VERSION}"\0'$\

And not ${OPSYS} here?

./danfe


More information about the svn-ports-all mailing list