r894 - trunk/code/unix/setup

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Sep 5 09:24:35 EDT 2006


Author: thilo
Date: 2006-09-05 09:24:34 -0400 (Tue, 05 Sep 2006)
New Revision: 894

Added:
   trunk/code/unix/setup/preuninstall.sh
Modified:
   trunk/code/unix/setup/doit
   trunk/code/unix/setup/setup.xml
Log:
- Remove arch name in resulting file as the file should contain all arches.
- Make sure to delete all files that don't get uninstalled automatically before uninstall process begins.


Modified: trunk/code/unix/setup/doit
===================================================================
--- trunk/code/unix/setup/doit	2006-09-05 12:54:25 UTC (rev 893)
+++ trunk/code/unix/setup/doit	2006-09-05 13:24:34 UTC (rev 894)
@@ -79,4 +79,4 @@
 install -m 644 ./id_patch_pk3s_Q3A_EULA.txt image/id_patch_pk3s_Q3A_EULA.txt
 
 ### makeself installer
-$MAKESELF/makeself.sh image ioquake3-$VERSION-$RELEASE.$arch.run "ioquake3 $VERSION" ./setup.sh
+$MAKESELF/makeself.sh image ioquake3-$VERSION-$RELEASE.run "ioquake3 $VERSION" ./setup.sh

Added: trunk/code/unix/setup/preuninstall.sh
===================================================================
--- trunk/code/unix/setup/preuninstall.sh	                        (rev 0)
+++ trunk/code/unix/setup/preuninstall.sh	2006-09-05 13:24:34 UTC (rev 894)
@@ -0,0 +1,3 @@
+#!/bin/sh
+rm COPYING
+rmdir --ignore-fail-on-non-empty demoq3 missionpack

Modified: trunk/code/unix/setup/setup.xml
===================================================================
--- trunk/code/unix/setup/setup.xml	2006-09-05 12:54:25 UTC (rev 893)
+++ trunk/code/unix/setup/setup.xml	2006-09-05 13:24:34 UTC (rev 894)
@@ -5,7 +5,8 @@
 	update_url="http://www.icculus.org/quake3/updates.txt"
 	promptbinaries="yes"
 	reinstall="yes"
-	nopromptoverwrite="yes">
+	nopromptoverwrite="yes"
+	preuninstall="preuninstall.sh">
   <readme>
     README
   </readme>




More information about the quake3-commits mailing list