Changeset 934 in MondoRescue
- Timestamp:
- Nov 15, 2006, 7:53:39 PM (17 years ago)
- Location:
- branches/stable/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/install.sh
r933 r934 68 68 perl -pi -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~ ; s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" $locallib/mindi/rootfs/sbin/init 69 69 70 # Substirute variables for mindi 71 if [ "$RPMBUILDMINDI" = "true" ]; then 72 sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=/usr~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=/etc/mindi~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" mindi > $local/sbin/mindi 73 else 74 sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$local~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$conf~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" mindi > $local/sbin/mindi 75 fi 70 # Substitute variables for mindi 71 sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$local~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$conf~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$locallib~" mindi > $local/sbin/mindi 76 72 chmod 755 $local/sbin/mindi 77 73 install -m 755 parted2fdisk.pl $local/sbin -
branches/stable/mindi/mindi
r931 r934 35 35 MINDI_CONF=YYY 36 36 MINDI_SBIN=${MINDI_PREFIX}/sbin 37 38 39 if [ "$ARCH" = "x86_64" ] ; then 40 MINDI_LIB=${MINDI_PREFIX}/lib64/mindi 41 else 42 MINDI_LIB=${MINDI_PREFIX}/lib/mindi 43 fi 37 MINDI_LIB=LLL 44 38 45 39 # Temporary directory for mindi
Note:
See TracChangeset
for help on using the changeset viewer.