diff options
Diffstat (limited to 'code/unix')
-rwxr-xr-x | code/unix/setup/doit | 2 | ||||
-rw-r--r-- | code/unix/setup/preuninstall.sh | 3 | ||||
-rw-r--r-- | code/unix/setup/setup.xml | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/code/unix/setup/doit b/code/unix/setup/doit index 835ec19..30e3503 100755 --- a/code/unix/setup/doit +++ b/code/unix/setup/doit @@ -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 diff --git a/code/unix/setup/preuninstall.sh b/code/unix/setup/preuninstall.sh new file mode 100644 index 0000000..f9ad416 --- /dev/null +++ b/code/unix/setup/preuninstall.sh @@ -0,0 +1,3 @@ +#!/bin/sh +rm COPYING +rmdir --ignore-fail-on-non-empty demoq3 missionpack diff --git a/code/unix/setup/setup.xml b/code/unix/setup/setup.xml index 115dbe1..f6f80b8 100644 --- a/code/unix/setup/setup.xml +++ b/code/unix/setup/setup.xml @@ -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> |