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