Changeset 2540 in MondoRescue for devel/mindi/post-install.sh


Ignore:
Timestamp:
Jan 9, 2010, 4:40:53 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3576@localhost: bruno | 2010-01-08 01:15:36 +0100
First set of correct split packages. Now need to work on content. mranalyze-lvm is now executable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/mindi/post-install.sh

    r2538 r2540  
    3232MINDIREV=PBREV
    3333ARCH=`/bin/uname -m`
    34 echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
     34echo "PBPKG ${MINDIVER}-r${MINDIREV} will be installed under $local"
    3535
    3636echo "Creating target directories ..."
    3737install -m 755 -d $conf $sublocallib $sublocalshare $CACHEDIR
    3838
    39 #echo "Copying files ..."
    40 #cp -af rootfs $sublocallib/mindi
    41 #chmod 755 $sublocallib/mindi/rootfs/sbin/*
    42 #install -m 644 msg-txt dev.tgz $sublocallib/mindi
     39echo "Copying files ..."
     40cp -a etc/PBPKG.conf $conf
     41#cp -af rootfs $sublocallib
     42#chmod 755 $sublocallib/rootfs/sbin/*
     43#install -m 644 msg-txt dev.tgz $sublocallib
    4344#install -m 644 deplist.txt udev.files proliant.files $conf
    4445
    4546# Substitute variables for mindi
    46 sed -i -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" $local/bin/mindi
     47sed -i -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" $local/bin/PBPKG
    4748#sed -i -e "s~= "YYY"~= "$subconf"~" $local/bin/mindi-bkphw
    4849
    4950if [ "$PKGBUILDMINDI" != "true" ]; then
    50     chown -R root:root $sublocallib/mindi $conf
     51    chown -R root:root $sublocallib $conf
    5152fi
    5253
Note: See TracChangeset for help on using the changeset viewer.