Changeset 250 for trunk/mindi/install.sh


Ignore:
Timestamp:
Dec 20, 2005, 7:38:11 PM (14 years ago)
Author:
bcornec
Message:

merge -r243:249 $SVN_M/branches/2.05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/install.sh

    r244 r250  
    3131echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
    3232
    33 if [ "_$DOCDIR" = "_" ]; then
    34     DOCDIR=$local/share/doc/mindi-$MINDIVER
    35 fi
     33DOCDIR=$local/share/doc/mindi-$MINDIVER
     34MANDIR=$local/share/man/man8
    3635
    3736echo "Creating target directories ..."
    38 install -m 755 -d $conf $local/lib/mindi $local/share/man/man8 $local/sbin $DOCDIR
     37install -m 755 -d $conf $local/lib/mindi $MANDIR $local/sbin $DOCDIR
    3938
    4039echo "Copying files ..."
     
    5554install -m 755 analyze-my-lvm parted2fdisk.pl $local/sbin
    5655
    57 install -m 644 mindi.8 $local/share/man/man8
     56install -m 644 mindi.8 $MANDIR
    5857install -m 644 CHANGES COPYING README README.busybox README.ia64 README.pxe TODO INSTALL $DOCDIR
    5958
     
    104103if [ "$RPMBUILDMINDI" != "true" ]; then
    105104    chown -R root:root $local/lib/mindi $conf/mindi $conf $DOCDIR
    106     chown root:root $local/sbin/mindi $local/share/man/man8/mindi.8 $local/sbin/analyze-my-lvm $local/sbin/parted2fdisk.pl
     105    chown root:root $local/sbin/mindi $MANDIR/mindi.8 $local/sbin/analyze-my-lvm $local/sbin/parted2fdisk.pl
    107106    if [ "$ARCH" = "ia64" ] ; then
    108107        chown root:root $local/sbin/parted2fdisk
Note: See TracChangeset for help on using the changeset viewer.