Changeset 1014


Ignore:
Timestamp:
Dec 30, 2006, 2:22:43 AM (12 years ago)
Author:
bruno
Message:

Open SuSE 10.2 changed its /etc/SuSE-release format

File:
1 edited

Legend:

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

    r1007 r1014  
    3939            export ddir="sles"
    4040            export dver=`head -1 /etc/SuSE-release | awk '{print $5}'`
     41        elif grep -q openSUSE /etc/SuSE-release ; then
     42            export ddir="suse"
     43            export dver=`head -1 /etc/SuSE-release | awk '{print $2}'`
    4144        else
    4245            export ddir="suse"
Note: See TracChangeset for help on using the changeset viewer.