From 0f2499de05ddd559501c44a2ac4fd6d83f21ddcf Mon Sep 17 00:00:00 2001 From: thilo Date: Tue, 5 Sep 2006 13:24:34 +0000 Subject: - 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@894 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/setup/doit | 2 +- code/unix/setup/preuninstall.sh | 3 +++ code/unix/setup/setup.xml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 code/unix/setup/preuninstall.sh 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 -- cgit v1.2.3