From 4a084a46a852dd60f57245d71799f9e90efd5ea7 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 5 Sep 2006 14:21:06 +0000 Subject: [PATCH] - add TA patch pk3s to installation - some cleanups in the installer UI - reduce verbosiveness of preuninstall script --- code/unix/setup/doit | 4 ++++ code/unix/setup/preuninstall.sh | 4 ++-- code/unix/setup/setup.xml | 34 +++++++++++++++++++-------------- 3 files changed, 26 insertions(+), 16 deletions(-) diff --git a/code/unix/setup/doit b/code/unix/setup/doit index 30e3503b..4086c11e 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 f9ad4163..ff23010b 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 f6f80b8d..563d8e54 100644 --- a/code/unix/setup/setup.xml +++ b/code/unix/setup/setup.xml @@ -14,13 +14,13 @@ id_patch_pk3s_Q3A_EULA.txt - -