Skip to content

Commit

Permalink
bee-install: Add support for new CONTENT file
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 21, 2012
1 parent 5ae3aa7 commit 73d7b23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bee-install.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,19 @@ function do_install_file() {
start_cmd tar -x --dereference -${vv}Pf ${file} \
${changedir} \
--transform="s,^FILES$,${BEE_METADIR}/${pkg}/FILES," \
--transform="s,^CONTENT$,${BEE_METADIR}/${pkg}/CONTENT," \
--transform="s,^BUILD$,${BEE_METADIR}/${pkg}/${beefile}," \
--transform="s,^META$,${BEE_METADIR}/${pkg}/META," \
--transform="s,^PATCHES,${BEE_METADIR}/${pkg}/PATCHES," \
--transform="s,^DEPENDENCIES$,${BEE_METADIR}/${pkg}/DEPENDENCIES," \
--show-transformed-names

if [ ! -e "${BEE_METADIR}/${pkg}/CONTENT" ] ; then
${BEE_LIBEXECDIR}/bee/compat-filesfile2contentfile \
${BEE_METADIR}/${pkg}/FILES \
>${BEE_METADIR}/${pkg}/CONTENT
fi

run_hooks post-install ${pkg}
${BEE_LIBEXECDIR}/bee/bee.d/bee-check -d ${pkg} > ${BEE_METADIR}/${pkg}/DEPENDENCIES
${BEE_LIBEXECDIR}/bee/bee.d/bee-dep update ${pkg}
Expand Down

0 comments on commit 73d7b23

Please sign in to comment.