summaryrefslogtreecommitdiff
path: root/bg2/install-tob-1cd-us-minimal.sh
diff options
context:
space:
mode:
authorNickDaly <myownlittlworld@hotmail.com>2009-06-06 17:58:50 -0500
committerNickDaly <myownlittlworld@hotmail.com>2009-06-06 17:58:50 -0500
commit06444abc5be2e72b2a52f114f942b9da9f9fc9b1 (patch)
treef4e087168c4e841929da3027e94e7d91b3b655a1 /bg2/install-tob-1cd-us-minimal.sh
parentc93108cc3cbc1cc685811776b9b771aef34fa25f (diff)
downloadgemrb-gameinstallers-06444abc5be2e72b2a52f114f942b9da9f9fc9b1.tar.bz2
gemrb-gameinstallers-06444abc5be2e72b2a52f114f942b9da9f9fc9b1.zip
Finished BG2-SOA installers.
Diffstat (limited to 'bg2/install-tob-1cd-us-minimal.sh')
-rw-r--r--bg2/install-tob-1cd-us-minimal.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/bg2/install-tob-1cd-us-minimal.sh b/bg2/install-tob-1cd-us-minimal.sh
index e7e1f11..5ae27ab 100644
--- a/bg2/install-tob-1cd-us-minimal.sh
+++ b/bg2/install-tob-1cd-us-minimal.sh
@@ -30,7 +30,12 @@ getcd 1 $BG2_TOB_1CD_US_MD5 data1.cab
mkdir -p "$TARGETDIR" || die
+if [ ! -e "${TARGETDIR}/cd2/data/area000a.bif" ]
+then
+ die
+ # TODO ask user to run the appropriate preinstaller.
+fi
+
# TODO finish everything below here.
-# TODO if the cd2 directory doesn't have contents, ask user to run the appropriate preinstaller.
teardown "$TARGETDIR"