Changeset 1526 in MondoRescue for branches/2.2.4/contrib


Ignore:
Timestamp:
Jul 6, 2007, 12:55:59 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a problem in directory link handling in mindi (seen on gentoo 64) with the precious help of Francesco Talamona ti.liame_at_email.it
  • Gentoo ebuild are now unmasked on my side
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/contrib/mkcd/setup

    r911 r1526  
    146146
    147147    if uname -a | grep Knoppix > /dev/null ; then
    148     echo "Knoppix LiveCD"
    149     return
     148        echo "Knoppix LiveCD"
     149        return
    150150    fi
    151151
     
    156156    fi
    157157
    158     for fname in `find /etc -maxdepth 1 | grep release` /etc/issue.net ; do
     158    for fname in `find /etc -maxdepth 1 | grep -E 'release|issue'` ; do
    159159        res=`cat $fname 2>/dev/null | grep -i "linux" | head -n1 | tr -s '\t' ' '`
    160160        [ "$res" = "" ] && res=`cat $fname |head -n1 | tr -s '\t' ' '`
Note: See TracChangeset for help on using the changeset viewer.