Changeset c9598f2 for jhalfs


Ignore:
Timestamp:
05/28/2016 10:00:30 AM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
878a5a0
Parents:
061d54f
Message:

Adaptation for merged LFS books. A few typos with no consequence are corrected too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r061d54f rc9598f2  
    441441    clfs* )
    442442      VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
     443    lfs)
     444      if [[ "$INITSYS" = "sysv" ]] ; then
     445        VERSION=$(grep 'ENTITY version ' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)
     446      else
     447        VERSION=$(grep 'ENTITY versiond' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)
     448      fi
     449      ;;
    443450    *)
    444       VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//')  ;;
     451      VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
    445452  esac
    446453fi
Note: See TracChangeset for help on using the changeset viewer.