sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b)
- 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: Tue, 18 Nov 2008 16:10:01 -0800
Quoting "Julien ROZO" <julien AT rozo.org>:
Eric Sandall a écrit :
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).
AFAIK, many game spells in z-rejected are changing permissions this way
: alienarena-bin, fretsonfire-bin, cpma, warsow-bin, etc...
I think I've used alienarena-bin as a template to make openarena-bin.
I can change INSTALL in openarena-bin as you're suggesting.
But do the other spells have to be changed too ?
They *should* be, in a perfect world. :) Once the files are copied to the INSTALL_ROOT, they should not be further modified (with exceptions, of course ;)).
-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
-
[SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Julien ROZO, 11/10/2008
-
Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Eric Sandall, 11/10/2008
-
Re: [SM-Commit] *** PROBABLY SPAM *** Re: GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Julien ROZO, 11/18/2008
-
Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Eric Sandall, 11/18/2008
- Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b), Andraž 'ruskie' Levstik, 11/19/2008
-
Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Eric Sandall, 11/18/2008
-
Re: [SM-Commit] *** PROBABLY SPAM *** Re: GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Julien ROZO, 11/18/2008
-
Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b),
Eric Sandall, 11/10/2008
Archive powered by MHonArc 2.6.24.