Changeset 317 in MondoRescue for trunk/tools/rpm-env


Ignore:
Timestamp:
Jan 13, 2006, 8:46:06 PM (15 years ago)
Author:
bcornec
Message:

merge -r309:316 $SVN_M/branches/2.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/rpm-env

    r276 r317  
    3636    export ddir="mandriva"
    3737    export dver=`awk '{print $4}' /etc/mandriva-release`
    38     export suf="${dver}mdk"
     38    export suf=".`echo $dver | sed 's/\.//'`mdk"
    3939elif [ -e /etc/mandrake-release ]; then
    4040    export ddir="mandrake"
    4141    export dver=`awk '{print $3}' /etc/mandrake-release`
    42     export suf="${dver}mdk"
     42    export suf=".`echo $dver | sed 's/\.//'`mdk"
    4343elif [ -e /etc/redhat-release ]; then
    4444    grep -q Enterprise /etc/redhat-release
     
    4949        export ddir="fedora"
    5050        export dver=`awk '{print $4}' /etc/redhat-release`
    51         export suf="fc${dver}"
     51        export suf=".fc${dver}"
    5252    else
    5353        export ddir="redhat"
    5454        export dver=`awk '{print $5}' /etc/redhat-release | sed "s/\.//"`
    55         export suf="rh${dver}"
     55        export suf=".rh${dver}"
    5656    fi
    5757elif [ -e /etc/SuSE-release ]; then
     
    7070
    7171if [ _"$suf" = _"" ]; then
    72     export suf="${ddir}${dver}"
     72    export suf=".${ddir}${dver}"
    7373fi
Note: See TracChangeset for help on using the changeset viewer.