[packages/issue-logo] - finally fixed the case when file is unreadable
baggins
baggins at pld-linux.org
Sun Jun 16 22:05:55 CEST 2013
commit 2c0c72a93cdb9d5a16eb1c96c97c533c32a616e0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 16 22:05:54 2013 +0200
- finally fixed the case when file is unreadable
issue-logo.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/issue-logo.spec b/issue-logo.spec
index 4cd2551..c2187b0 100644
--- a/issue-logo.spec
+++ b/issue-logo.spec
@@ -1,5 +1,5 @@
%define distnamever %(. /etc/os-release 2>/dev/null ; echo $VERSION)
-%define distversion %(. /etc/os-release 2>/dev/null ; echo ${VERSION_ID:-0})
+%define distversion %([ -e /etc/os-release ] && . /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/2c0c72a93cdb9d5a16eb1c96c97c533c32a616e0
More information about the pld-cvs-commit
mailing list