]> git.pld-linux.org Git - packages/issue-logo.git/commitdiff
- finally fixed the case when file is unreadable
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 16 Jun 2013 20:05:54 +0000 (22:05 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 16 Jun 2013 20:05:54 +0000 (22:05 +0200)
issue-logo.spec

index 4cd2551b7cb78b56ca5b8f1438357676337c1f2e..c2187b026e628cd14ea445239b50a2ae021b381e 100644 (file)
@@ -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
This page took 0.230409 seconds and 4 git commands to generate.