[packages/issue-alpha] - more fixing getting distversion

baggins baggins at pld-linux.org
Sun Jun 16 21:56:49 CEST 2013


commit 4a9c30036cbbb842d0d7d75e28f7c075c91b4358
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 16 21:56:31 2013 +0200

    - more fixing getting distversion

 issue-alpha.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/issue-alpha.spec b/issue-alpha.spec
index 21f38bc..2dd2f9e 100644
--- a/issue-alpha.spec
+++ b/issue-alpha.spec
@@ -1,5 +1,5 @@
-%define	distnamever	%(. /etc/os-release && echo $VERSION)
-%define	distversion	%(. /etc/os-release && echo ${VERSION_ID:-0})
+%define	distnamever	%(. /etc/os-release 2>/dev/null ; echo $VERSION)
+%define	distversion	%(. /etc/os-release 2>/dev/null ; echo ${VERSION_ID:-0})
 
 Summary:	PLD Linux release file with virtual keyboard
 Summary(pl.UTF-8):	Wersja Linuksa PLD z wirtualną klawiaturą
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/issue-alpha.git/commitdiff/4a9c30036cbbb842d0d7d75e28f7c075c91b4358



More information about the pld-cvs-commit mailing list