Changeset 1537


Ignore:
Timestamp:
Jul 20, 2007, 12:14:39 AM (12 years ago)
Author:
bruno
Message:

Adds support for fedora 7

Location:
branches/2.2.5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/tools/DISTROS

    r1501 r1537  
    99fedora_5
    1010fedora_6
     11fedora_7
    1112rhel_2.1
    1213rhel_3
  • branches/2.2.5/tools/distro-env

    r1470 r1537  
    2626        elif grep -q Fedora /etc/redhat-release ; then
    2727            export ddir="fedora"
    28             export dver=`awk '{print $4}' /etc/redhat-release`
     28            grep -qi core /etc/redhat-release
     29            if [ $? -eq 0 ]; then
     30                export dver=`awk '{print $4}' /etc/redhat-release`
     31            else
     32                export dver=`awk '{print $3}' /etc/redhat-release`
     33            fi
    2934        elif grep -q CentOS /etc/redhat-release ; then
    3035            export ddir="centos"
Note: See TracChangeset for help on using the changeset viewer.