[packages/issue] - fix getting distversion
baggins
baggins at pld-linux.org
Sun Jun 16 21:53:13 CEST 2013
commit 9343e253d209a318a252e9dc87936121ec8ff96b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 16 21:50:37 2013 +0200
- fix getting distversion
issue.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/issue.spec b/issue.spec
index cf4b0e9..3874c02 100644
--- a/issue.spec
+++ b/issue.spec
@@ -1,6 +1,5 @@
-
%define distnamever %(. /etc/os-release && echo $VERSION)
-%define distversion %(. /etc/os-release && echo $VERSION_ID)
+%define distversion %(. /etc/os-release && echo ${VERSION_ID:-0})
Summary: PLD Linux prelogin message and identification file
Summary(de.UTF-8): PLD Linux Systemidentifikationsdatei
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/issue.git/commitdiff/9343e253d209a318a252e9dc87936121ec8ff96b
More information about the pld-cvs-commit
mailing list