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

baggins baggins at pld-linux.org
Sun Jun 16 21:57:15 CEST 2013


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

    - more fixing getting distversion

 issue-logo.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/issue-logo.spec b/issue-logo.spec
index e3c88f9..4cd2551 100644
--- a/issue-logo.spec
+++ b/issue-logo.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 prelogin message and identification file with logo
 Summary(de.UTF-8):	PLD Linux Systemidentifikationsdatei mit logo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/issue-logo.git/commitdiff/a093024cc48ee315ba8a9a12f7da6f280bf793a5



More information about the pld-cvs-commit mailing list