Changeset 1081 in MondoRescue for trunk/mindi/install.sh


Ignore:
Timestamp:
Jan 28, 2007, 11:20:07 PM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r1078:1080 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/install.sh

    r1079 r1081  
    1212    local=${HEAD}$PREFIX
    1313    sublocal=$PREFIX
    14     if [ -f /usr/local/sbin/mindi ]; then
    15         echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual installation !"
    16     fi
    1714    if [ "_$CONFDIR" != "_" ]; then
    1815        conf=${HEAD}$CONFDIR/mindi
     
    2219        exit -1
    2320    fi
    24     echo $PATH | grep /usr/sbin > /dev/null || echo "Warning - your PATH environmental variable is BROKEN. Please add /usr/sbin to your PATH."
    2521else
    2622    local=/usr/local
     
    144140install -m 644 ChangeLog COPYING README README.busybox README.ia64 README.pxe TODO INSTALL svn.log $DOCDIR
    145141
    146 if [ ! -f $locallib/mindi/rootfs/bin/busybox ]; then
     142if [ "_$PREFIX" = "_" && ! -f $locallib/mindi/rootfs/bin/busybox ]; then
    147143        echo "WARNING: no busybox found, mindi will not work on this arch ($ARCH)"
    148144fi
Note: See TracChangeset for help on using the changeset viewer.