summaryrefslogtreecommitdiff
path: root/pst/install-4cd-extra.sh
blob: 02f566ef2d6f56909fb2beece2d1570cd380fff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
# Copyright 2009 Nick White
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# See <http://www.gnu.org/licenses/> for a copy of the GNU General
# Public License.
#
# Extra Planescape: Torment (4CD version) content (so CDs aren't needed)

scriptdir="$(dirname $0)"/..
source "$scriptdir/includes/generic-includes.sh"
source "$scriptdir/includes/cd-includes.sh"

parseargs "$@"

checkforbin unshield

getcd 2 99be7c8544016302c820088091c52fef cd2/movies2.bif
copylower "$CDMOUNT/cd2/" "$TARGETDIR" || die

getcd 3 6ffd2c51a41603c7dca6196d9bef2e26 cd3/AR0500.bif
copylower "$CDMOUNT/cd3/" "$TARGETDIR" || die

getcd 4 b70322aaa7b1d61a168a766eba399085 cd4/movies4.bif
copylower "$CDMOUNT/cd4/" "$TARGETDIR" || die

setperms "$TARGETDIR"