Changeset 424 in MondoRescue for branches/stable/mindi/mindi


Ignore:
Timestamp:
Feb 21, 2006, 10:48:23 PM (14 years ago)
Author:
bcornec
Message:

mondo now uses /usr/share for the restore-scripts (/usr/lib should contains binary only) - this also makes rpmlint happier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r423 r424  
    628628    [ "$MINDI_CONF" = "YYY" ] && Die "Mindi has not been installed correctly."
    629629    echo "MINDI_CONF = $MINDI_CONF" >> $LOGFILE
    630     echo "MONDO_LIB = $MONDO_LIB" >> $LOGFILE
     630    echo "MONDO_SHARE = $MONDO_SHARE" >> $LOGFILE
    631631    mkdir -p $CACHE_LOC
    632632}
     
    16131613        cp -f $TMP_ROOT/iso/isolinux/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,message.txt} $MONDO_ROOT || Die "Cannot copy core files to ramdisk for boot disk. Did you run out of disk space?"
    16141614    fi
    1615     [ "$MONDO_LIB" ] && cp -f $MONDO_LIB/autorun .   
     1615    [ "$MONDO_SHARE" ] && cp -f $MONDO_SHARE/autorun .   
    16161616    if [ -d "/home/MondoCD" ] ; then
    16171617    cp -pRdu /home/MondoCD/* .
     
    21962196    tar -zxf $MINDI_LIB/x11-tools.tgz 2>> $LOGFILE || LogIt "Warning - error occurred while unzipping x11-tools.tgz\n"
    21972197    fi
    2198     if [ -e "$MONDO_LIB/restore-scripts" ] ; then
    2199         cp -Rdf $MONDO_LIB/restore-scripts/* . 2>> $LOGFILE
    2200         [ "$?" -ne "0" ] && [ "`DidMondoCallMe`" ] && Die "Cannot find/install $MONDO_LIB/restore-scripts"
     2198    if [ -e "$MONDO_SHARE/restore-scripts" ] ; then
     2199        cp -Rdf $MONDO_SHARE/restore-scripts/* . 2>> $LOGFILE
     2200        [ "$?" -ne "0" ] && [ "`DidMondoCallMe`" ] && Die "Cannot find/install $MONDO_SHARE/restore-scripts"
    22012201    fi
    22022202    [ -d "/lib/dev-state" ] && cp --parents -pRdf /lib/dev-state .
Note: See TracChangeset for help on using the changeset viewer.