Changeset 384 for trunk


Ignore:
Timestamp:
Feb 12, 2006, 4:27:44 AM (14 years ago)
Author:
andree
Message:

Get mindi to look for analyze-my-lvm in it's library directory MINDI_LIB
rather than the path. analyze-my-lvm should not be in the path because
it is only useful to mindi. A second reason, particularly for Debian, is
that it does not have a manpage - Debian requires all executables to
have one.
(See also Debian bug #351446.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/mindi

    r382 r384  
    13151315    if [ -d "/proc/lvm" ] || [ -d "/dev/mapper" ]; then
    13161316    echo -en "\rAnalyzing LVM...\r"
    1317     all_partitions=`$MINDI_SBIN/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`
     1317    all_partitions=`$MINDI_LIB/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`
    13181318    fi
    13191319    all_partitions="$all_partitions `ListAllPartitions 2> /dev/null`"
     
    22172217    cp -f $TMP_ROOT/mountlist.txt $CACHE_LOC
    22182218    [ "`DidMondoCallMe`" ] && cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MONDO_TMP/.
    2219     [ -d "/proc/lvm" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
    2220     [ -d "/dev/mapper" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
     2219    [ -d "/proc/lvm" ] && $MINDI_LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
     2220    [ -d "/dev/mapper" ] && $MINDI_LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
    22212221    cat $minidir_root/$noof_disks/tmp/mountlist.txt >> $LOGFILE
    22222222    ZipMinidirsIntoTarballs $minidir_root $tardir $noof_disks
Note: See TracChangeset for help on using the changeset viewer.