Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] *** PROBABLY SPAM *** Re: 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: Julien ROZO <julien AT rozo.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] *** PROBABLY SPAM *** Re: GIT changes to master z-rejected grimoire by Julien ROZO (3be725f12d1715c27cb37d31bc7ce4f63ca55d7b)
  • Date: Tue, 18 Nov 2008 23:02:25 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Sandall a écrit :
>>
>> 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? :)

no problem ! I've made this change locally for the moment.

>> 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 ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJIztwAAoJEJuXOITO/v5tC8QH/2eouwFoGlcGqMUF2AVnkDNi
oGriAAcm4IaIew3S8Jay+1umE/wgxdBka6NU5+Xn7vmnCie3gbipdOlnbPN3Vx4P
MzEqs2vGb9jq9/43OgywcyJ/D4jZ3Rs2dmFZD6hQL5vvQs59vqOVGQmO+1LSRWUJ
mqcPJI7/sY3bKjPeTNzry8Ojoh285GWmdP8Y/5IGL9BOksgsUiOu4C1BkNQjxTFi
5L3gpbp0SwbnC9ZJlwi/SjiHIkkrWZ1sC783i4IeK2dbv7IaCyaJ/4NRU+AW/vm+
Okjoe2G4BO0lhj3gpFRLjt+BW9ONLVGcKvMwWmJ3YUaNDhlDEOdIRVvn8J8o7JM=
=XSQ6
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page