summaryrefslogtreecommitdiff
path: root/bg2/install-tob-1cd-us-minimal.sh
diff options
context:
space:
mode:
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"