Prepare v0.3 and make 0.2 stable
This commit is contained in:
parent
7835988725
commit
0d7c3da24e
@ -1,4 +1,4 @@
|
||||
DBP MYSTIC INSTALLER SCRIPT v0.1
|
||||
DBP MYSTIC INSTALLER SCRIPT v0.2
|
||||
This Script will help you install the Mystic
|
||||
BBS System on Debian Linux. It also Compiles
|
||||
Cryptlib, Adds Fail2ban, Logmanagent, Multi
|
||||
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -13,7 +13,7 @@ APP="Mystic BBS"
|
||||
MSDIR="/opt/mystic"
|
||||
MSTEMPDIR="/usr/local/src/mystic"
|
||||
TMP_DIR=$(mktemp -d)
|
||||
SCRIPT_VER="v2"
|
||||
SCRIPT_VER="v3"
|
||||
|
||||
GROUP=$(getent group mystic)
|
||||
USER=$(getent shadow mystic)
|
||||
|
@ -13,7 +13,7 @@ APP="Mystic BBS"
|
||||
MSDIR="/opt/mystic"
|
||||
MSTEMPDIR="/usr/local/src/mystic"
|
||||
TMP_DIR=$(mktemp -d)
|
||||
SCRIPT_VER="v1"
|
||||
SCRIPT_VER="v2"
|
||||
|
||||
GROUP=$(getent group mystic)
|
||||
USER=$(getent shadow mystic)
|
||||
@ -248,4 +248,4 @@ source $MSTEMPDIR/mystic/dosemu2/info-${SCRIPT_VER}.sh
|
||||
chown mystic:mystic -R ${MYSTIC_DIR} &>/dev/null
|
||||
cat ${DBP_INFO}
|
||||
|
||||
echo "The Infos abouth has been put into ${DBP_INFO}"
|
||||
echo "These Infos are also been put into ${DBP_INFO}"
|
||||
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,5 +1,5 @@
|
||||
PYTHON2=$(ls /usr/lib/x86_64-linux-gnu/libpython2*.so.1)
|
||||
PYTHON3=$(ls /usr/lib/x86_64-linux-gnu/libpython3*.so.1)
|
||||
PYTHON2=`ls ${LIBDIR}/libpython2*.so.1`
|
||||
PYTHON3=`ls ${LIBDIR}/libpython3*.so.1`
|
||||
|
||||
echo "" >> ${DBP_INFO}
|
||||
echo "Settings in Mystic General Settings" >> ${DBP_INFO}
|
@ -1,12 +1,14 @@
|
||||
MYSTIC_VER="112a48"
|
||||
#UPSTREAM="downloads"
|
||||
UPSTREAM="downloads/prealpha"
|
||||
MYSTIC_VER="112a49"
|
||||
|
||||
echo -e "Plz set the install dir the same as bevor"
|
||||
echo -e "${DGN}Install Mystic to: ${BGN}$MYSTIC_DIR${CL}"
|
||||
read -p "Press enter to continue"
|
||||
|
||||
msg_info "Starting ${APP} Installation"
|
||||
apt install -y unrar-free python3 python2 libpython2.7 zip rar &>/dev/null
|
||||
wget -N http://www.mysticbbs.com/downloads/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} -O $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
||||
apt install -y python3 python2 libpython2.7 arj zip rar unrar &>/dev/null
|
||||
wget -N http://www.mysticbbs.com/${UPSTREAM}/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} -O $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
||||
rm -rf $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||
mkdir -p $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||
pushd $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||
@ -60,3 +62,20 @@ sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" $MSTEMPDIR/mystic/mystic/mis.service > /
|
||||
systemctl daemon-reload
|
||||
msg_ok "Installing ${APP} Systemd Start/Stop Scripts and Service File"
|
||||
|
||||
msg_info "Setting up ${APP} Official lha (be patient compiling lha)"
|
||||
apt install -y build-essential binutils make csh g++ sed gawk autoconf automake autotools-dev &>/dev/null
|
||||
wget -N https://github.com/jca02266/lha/archive/refs/tags/release-20211125.zip -O $MSTEMPDIR/lha-20211125.zip &>/dev/null
|
||||
rm -rf $MSTEMPDIR/lha-release-20211125 &>/dev/null
|
||||
pushd $MSTEMPDIR &>/dev/null
|
||||
unzip lha-20211125.zip &>/dev/null
|
||||
popd &>/dev/null
|
||||
pushd $MSTEMPDIR/lha-release-20211125 &>/dev/null
|
||||
aclocal &>/dev/null
|
||||
autoheader &>/dev/null
|
||||
automake -a &>/dev/null
|
||||
autoconf &>/dev/null
|
||||
./configure &>/dev/null
|
||||
make &>/dev/null
|
||||
make install &>/dev/null
|
||||
popd &>/dev/null
|
||||
msg_ok "Setting up ${APP} Official lha (be patient compiling lha)"
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
@ -1,3 +1,3 @@
|
||||
for file in $(ls *-v1.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
||||
for file in $(ls *-v2.sh) ; do
|
||||
cp -- "${file}" "$(echo "${file}" | sed -e 's/v2\.sh/v3\.sh/')"
|
||||
done
|
Loading…
Reference in New Issue
Block a user