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

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


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

    - more fixing getting distversion

 issue-fancy.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/issue-fancy.spec b/issue-fancy.spec
index 4d41521..28bf1c3 100644
--- a/issue-fancy.spec
+++ b/issue-fancy.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 logo
 Summary(de.UTF-8):	PLD Linux Release-Datei mit logo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/issue-fancy.git/commitdiff/70b3113bf8f8c79b4ebed706a03954be70fc432b



More information about the pld-cvs-commit mailing list