summaryrefslogtreecommitdiffstats
path: root/bin-games
diff options
context:
space:
mode:
authorJulien ROZO2008-12-02 20:56:07 +0100
committerJulien ROZO2008-12-02 20:56:07 +0100
commit52f4e00abc37f565e8f2813480e9aa952cbc38f9 (patch)
tree8d31661e2c854b5dc2a1642c4d13165dd9e57373 /bin-games
parente0d1cf3af7ae0661cb56fb580bafc41e46380bfd (diff)
openarena-bin: removed PRE_INSTALL, unnecessary files are now deleted in PRE_BUILD
Diffstat (limited to 'bin-games')
-rw-r--r--bin-games/openarena-bin/HISTORY4
-rwxr-xr-xbin-games/openarena-bin/PRE_BUILD7
-rwxr-xr-xbin-games/openarena-bin/PRE_INSTALL6
3 files changed, 10 insertions, 7 deletions
diff --git a/bin-games/openarena-bin/HISTORY b/bin-games/openarena-bin/HISTORY
index 68a1fbf..aef69dd 100644
--- a/bin-games/openarena-bin/HISTORY
+++ b/bin-games/openarena-bin/HISTORY
@@ -1,3 +1,7 @@
+2008-11-18 Julien "_kaze_" ROZO <julien@rozo.org>
+ * PRE_INSTALL: removed, unnecessary files are now deleted in PRE_BUILD
+ * PRE_BUILD: deletes Windows and OS X files
+
2008-11-10 Julien "_kaze_" ROZO <julien@rozo.org>
* PRE_INSTALL: added, removes Windows and Mac OS X files
diff --git a/bin-games/openarena-bin/PRE_BUILD b/bin-games/openarena-bin/PRE_BUILD
index c50deeb..cb9dfef 100755
--- a/bin-games/openarena-bin/PRE_BUILD
+++ b/bin-games/openarena-bin/PRE_BUILD
@@ -4,4 +4,9 @@ message "${SPELL_COLOR}This will take some considerable time due to the"
"either${DEFAULT_COLOR}." &&
mk_source_dir &&
cd $BUILD_DIRECTORY &&
-unpack_file ''
+unpack_file '' &&
+
+## Remove files for Windows and Mac OS X platforms
+find . -name '*.exe' -type f -delete &&
+find . -name '*.dll' -type f -delete &&
+find . -name '*.app' -type d -print0 | xargs -0 rm -rf
diff --git a/bin-games/openarena-bin/PRE_INSTALL b/bin-games/openarena-bin/PRE_INSTALL
deleted file mode 100755
index 5f62b88..0000000
--- a/bin-games/openarena-bin/PRE_INSTALL
+++ /dev/null
@@ -1,6 +0,0 @@
-## Remove files for Windows and Mac OS X platforms
-find . -name '*.exe' -type f -delete &&
-find . -name '*.dll' -type f -delete &&
-find . -name '*.app' -type d -print0 | xargs -0 rm -rf &&
-
-default_sorcery_pre_install