From 821533fde506e3cc785dbb115bdba678dd52b448 Mon Sep 17 00:00:00 2001 From: thilo Date: Tue, 5 Sep 2006 14:21:06 +0000 Subject: - add TA patch pk3s to installation - some cleanups in the installer UI - reduce verbosiveness of preuninstall script git-svn-id: svn://svn.icculus.org/quake3/trunk@895 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/setup/doit | 4 ++++ code/unix/setup/preuninstall.sh | 4 ++-- code/unix/setup/setup.xml | 34 ++++++++++++++++++++-------------- 3 files changed, 26 insertions(+), 16 deletions(-) (limited to 'code/unix') diff --git a/code/unix/setup/doit b/code/unix/setup/doit index 30e3503..4086c11 100755 --- a/code/unix/setup/doit +++ b/code/unix/setup/doit @@ -60,10 +60,14 @@ rm -rf image/tmp # patch pk3 files install -m 644 ./idpatchpk3s.tar image/idpatchpk3s.tar +install -m 644 ./idtapatchpk3s.tar image/idtapatchpk3s.tar ### setup.xml sed 's/@VERSION@/'$VERSION'/g' < setup.xml > image/setup.data/setup.xml +### uninstall script +install -m 755 ./preuninstall.sh image/preuninstall.sh + ### start script mkdir -p image/bin/Linux/x86 mkdir -p image/bin/Linux/x86_64 diff --git a/code/unix/setup/preuninstall.sh b/code/unix/setup/preuninstall.sh index f9ad416..ff23010 100644 --- a/code/unix/setup/preuninstall.sh +++ b/code/unix/setup/preuninstall.sh @@ -1,3 +1,3 @@ #!/bin/sh -rm COPYING -rmdir --ignore-fail-on-non-empty demoq3 missionpack +rm -f COPYING +rmdir --ignore-fail-on-non-empty demoq3 missionpack >& /dev/null diff --git a/code/unix/setup/setup.xml b/code/unix/setup/setup.xml index f6f80b8..563d8e5 100644 --- a/code/unix/setup/setup.xml +++ b/code/unix/setup/setup.xml @@ -14,13 +14,13 @@ id_patch_pk3s_Q3A_EULA.txt - -