Skip to content

Commit

Permalink
- Remove arch name in resulting file as the file should contain all a…
Browse files Browse the repository at this point in the history
…rches.

- Make sure to delete all files that don't get uninstalled automatically before uninstall process begins.
  • Loading branch information
Thilo Schulz committed Sep 5, 2006
1 parent c34c942 commit 4d062b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/unix/setup/doit
Expand Up @@ -79,4 +79,4 @@ install -m 644 ../../../COPYING.txt image/COPYING
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
3 changes: 3 additions & 0 deletions code/unix/setup/preuninstall.sh
@@ -0,0 +1,3 @@
#!/bin/sh
rm COPYING
rmdir --ignore-fail-on-non-empty demoq3 missionpack
3 changes: 2 additions & 1 deletion code/unix/setup/setup.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 4d062b1

Please sign in to comment.