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 ?
Archive powered by MHonArc 2.6.24.