Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 8ba75bd3726e636ff5298cf630aa5770 > files > 1

libpki-0.4.1-2mdv2010.1.src.rpm

--- configure.in	2009-04-19 19:26:15.000000000 +0200
+++ configure.in.oden	2010-01-29 13:49:28.000000000 +0100
@@ -144,8 +144,8 @@
 # DIST_VERSION=`bash -c 'grep -o [0-9] /etc/issue'`
 # DIST_VERSION=`cat /etc/issue | /bin/sed -e 's/[a-zA-Z ()\\]*//g'`
 
-if [[ -f "/etc/issue" ]] ; then
-   DIST_NAME=`head -n 1 /etc/issue | cut -f 1,1 -d ' '`
+if [[ -f "/etc/release" ]] ; then
+   DIST_NAME=`head -n 1 /etc/release | cut -f 1,1 -d ' '`
 else
    DIST_NAME=`echo ${build_os} | $EGREP -o [[A-Za-z]]+`
 fi