summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/cd-includes.sh24
-rw-r--r--includes/generic-includes.sh2
2 files changed, 25 insertions, 1 deletions
diff --git a/includes/cd-includes.sh b/includes/cd-includes.sh
index e234c9b..e7c2526 100644
--- a/includes/cd-includes.sh
+++ b/includes/cd-includes.sh
@@ -17,6 +17,30 @@
[ -z "$CDMOUNT" ] && export CDMOUNT="/media/cdrom"
+export BG1_5CD_INTL_MD5="138528155dfeb695bd63f90eacee7dc0"
+export BG1_TOTSC_3CD_US_MD5="1a6828b97a27967e8c4acc25e1ef48d2"
+export BG1_TOTSC_1CD_UK_MD5="e27d259ddc0171ff945dbba136e60309"
+
+export BG2_4CD_US_MD5="8acf4a6348de916bfaf077469a427b65"
+
+export PST_2CD_MD5="640b61443cc86c434f1b6826e63c0e33"
+export PST_4CD_MD5="5e8c2075163aca124de4a467fb33063d"
+
+export IWD_2CD_US_MD5=""
+export IWD_HOW_1CD_US_MD5=""
+
+export IWD2_2CD_US_MD5=""
+
+# a record of every IE collection I can find.
+export IWD_ULTIMATE_COLLECTION_MD5=""
+export BG1_1DVD_MD5=""
+export BG_COMPLILATION_1DVD_MD5=""
+#export BG2_COMPLILATION_NCD_MD5="" # no idea how many cds.
+export BLACK_ISLE_COMPILATION_PART_ONE_MD5=""
+export BLACK_ISLE_COMPILATION_PART_TWO_MD5=""
+export ULTIMATE_DUNGEONS_DRAGONS_MD5=""
+export ROLLENSPIELE_DELUXE_EDITION_MD5=""
+
### functions ###
function checkcd
diff --git a/includes/generic-includes.sh b/includes/generic-includes.sh
index 43474af..51cffcb 100644
--- a/includes/generic-includes.sh
+++ b/includes/generic-includes.sh
@@ -97,7 +97,7 @@ function setperms
find "$1" -type f -exec chmod 644 '{}' \;
find "$1" -type f -iname '*.exe' -exec chmod 755 '{}' \;
find "$1" -type f -iname '*.ini' -exec chmod 664 '{}' \;
- chgrp -R games "$1"
+ chgrp -R games "$1" &> /dev/null
if [ -d "$1"/save ]; then
chmod -R g+w "$1"/save
fi