Changeset 2540 in MondoRescue for devel/mindi/post-install.sh
- Timestamp:
- Jan 9, 2010, 4:40:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/mindi/post-install.sh
r2538 r2540 32 32 MINDIREV=PBREV 33 33 ARCH=`/bin/uname -m` 34 echo " mindi${MINDIVER}-r${MINDIREV} will be installed under $local"34 echo "PBPKG ${MINDIVER}-r${MINDIREV} will be installed under $local" 35 35 36 36 echo "Creating target directories ..." 37 37 install -m 755 -d $conf $sublocallib $sublocalshare $CACHEDIR 38 38 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 39 echo "Copying files ..." 40 cp -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 43 44 #install -m 644 deplist.txt udev.files proliant.files $conf 44 45 45 46 # 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/ mindi47 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/PBPKG 47 48 #sed -i -e "s~= "YYY"~= "$subconf"~" $local/bin/mindi-bkphw 48 49 49 50 if [ "$PKGBUILDMINDI" != "true" ]; then 50 chown -R root:root $sublocallib /mindi$conf51 chown -R root:root $sublocallib $conf 51 52 fi 52 53
Note:
See TracChangeset
for help on using the changeset viewer.