Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b)
  • Date: Mon, 10 Nov 2008 03:09:42 -0800

On Mon, 10 Nov 2008 04:50:17 -0600
Julien ROZO <scm AT sourcemage.org> wrote:

> GIT changes to master z-rejected grimoire by Julien ROZO
> <julien AT rozo.org>:
>
> ChangeLog | 3 +++
> z-games/openarena-bin/BUILD | 1 -
> z-games/openarena-bin/DEPENDS | 5 -----
> z-games/openarena-bin/DETAILS | 19 -------------------
> z-games/openarena-bin/HISTORY | 16 ----------------
> z-games/openarena-bin/INSTALL | 8 --------
> z-games/openarena-bin/POST_INSTALL | 13 -------------
> z-games/openarena-bin/PREPARE | 1 -
> z-games/openarena-bin/PRE_BUILD | 7 -------
> z-games/openarena-bin/oa_ded | 14 --------------
> z-games/openarena-bin/openarena | 14 --------------
> 11 files changed, 3 insertions(+), 98 deletions(-)
>
> New commits:
> commit 3be725f12d1715c27cb37d31bc7ce4f63ca55d7b
> Author: Julien ROZO <julien AT rozo.org>
> Commit: Julien ROZO <julien AT rozo.org>
>
> openarena-bin: moved to binary grimoire
>
> commit d8693fd44de65a9575e8066c288d3dba1fefe5ca
> Author: Julien ROZO <julien AT rozo.org>
> Commit: Julien ROZO <julien AT rozo.org>
>
> openarena-bin: added PRE_INSTALL to remove Windows and Mac OS X
> files before installation

Can you do this in PRE_BUILD so they're definitely ignored throughout
the entire process? :)

> diff --git a/bin-games/openarena-bin/INSTALL
> b/bin-games/openarena-bin/INSTALL new file mode 100755
> index 0000000..d6b856a
> --- /dev/null
> +++ b/bin-games/openarena-bin/INSTALL
> @@ -0,0 +1,8 @@
> +INSTALL_DIR=${INSTALL_ROOT}/opt/openarena &&
> +mkdir $INSTALL_DIR &&
> +cp -v ${SPELL_DIRECTORY}/openarena ${INSTALL_ROOT}/usr/games &&
> +cp -v ${SPELL_DIRECTORY}/oa_ded ${INSTALL_ROOT}/usr/games &&
> +cp -rv * $INSTALL_DIR &&
> +cd $INSTALL_DIR &&
> +find_and_scam &&
> +chmod 750 {oa_ded,openarena}.{i386,x86_64}

You should modify the files before installation, that way they are
copied with the right permissions. This is mostly important for managed
files (e.g. config files or files installed with install_config_file),
since one file would be copied to the stage (if using castfs) or to
a $(file).$(date) file, while the currently installed file would have
it's perms changed (and would now be marked as unmodified for this
install of the spell).

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page