Updates for Mystic BBS 1.12a39 on x86_64

This commit is contained in:
Deon George
2018-08-25 23:45:25 +10:00
parent e10ec279d6
commit 1769f92719
7 changed files with 14 additions and 13 deletions

View File

@@ -2,3 +2,4 @@ data
mystic
mods
*.zip
*.rar

View File

@@ -2,13 +2,13 @@
set -e
MYSTIC_SOURCE=${1:-mys112a39_pi.zip}
MYSTIC_SOURCE=${1:-mys112a39_l64.rar}
[ "$1" ] && shift
SPELL_SOURCE=${1:-mystic_spellcheck_v2.zip}
[ "$1" ] && shift
CLEAN_INSTALL_DIR=x
INSTALL_CONTAINER=arm32v7/debian:jessie-slim
INSTALL_CONTAINER=debian:jessie-slim
TARGET_DIR=mystic
PATCH_FILE=mystic.112a39.patch
@@ -24,8 +24,8 @@ else
# 2) Create a new directory for it and unzip the App into it
[ -d ${CLEAN_INSTALL_DIR} ] && echo "ERROR: Directory [${CLEAN_INSTALL_DIR}] already exists!" && exit 1
unzip ${MYSTIC_SOURCE} -d ${CLEAN_INSTALL_DIR}
[ $? -gt 0 ] && echo "ERROR: Unzip failed?" && exit 1
mkdir ${CLEAN_INSTALL_DIR}; cd ${CLEAN_INSTALL_DIR}; unrar x ../${MYSTIC_SOURCE}; cd ..
[ $? -gt 0 ] && echo "ERROR: Unrar failed?" && exit 1
# 3) Run docker with -v mapping the unzip files to an arbitrary directory -v unzipfiles:/install
# ** @TODO Request upstream to default QWK and Echo DIRs to named dir as well during installation