Ignore:
Timestamp:
May 19, 2006, 12:37:53 AM (13 years ago)
Author:
bcornec
Message:

mondo-doc should now generate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/distro-env

    r553 r556  
    2929        else
    3030            export ddir="redhat"
    31             dver=`awk '{print $5}' /etc/redhat-release`
    32             export dver=`echo ${dver} | sed "s/\.//"`
     31            export dver=`awk '{print $5}' /etc/redhat-release | sed "s/\.//"`
    3332        fi
    3433    elif [ -e /etc/SuSE-release ]; then
     
    4140            export dver=`head -1 /etc/SuSE-release | awk '{print $3}'`
    4241        fi
     42    elif [ -e /etc/gentoo-release ]; then
     43        export ddir="gentoo"
     44        export dver=`awk '{print $5}' /etc/gentoo-release | cut -d. -f1-2`
    4345    else
    4446        export ddir="unknown"
Note: See TracChangeset for help on using the changeset viewer.