Move xtrn into xtrn orig
This commit is contained in:
parent
564e85a1d9
commit
0d2de5c97c
@ -43,6 +43,7 @@ RUN apt-get update \
|
|||||||
&& rm -rf /opt/sbbs/3rdp /opt/sbbs/src \
|
&& rm -rf /opt/sbbs/3rdp /opt/sbbs/src \
|
||||||
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
|
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
|
||||||
&& mv /opt/sbbs/text /opt/sbbs/text.orig \
|
&& mv /opt/sbbs/text /opt/sbbs/text.orig \
|
||||||
|
&& mv /opt/sbbs/xtrn /opt/sbbs/xtrn.orig \
|
||||||
&& mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.orig \
|
&& mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.orig \
|
||||||
&& find /opt/sbbs -name CVS -type d -exec rm -rf {} + \
|
&& find /opt/sbbs -name CVS -type d -exec rm -rf {} + \
|
||||||
&& SUDO_FORCE_REMOVE=yes apt-get -y purge git build-essential libnspr4-dev libncurses5-dev libncursesw5-dev cvs wget pkgconf libcap2-bin sudo \
|
&& SUDO_FORCE_REMOVE=yes apt-get -y purge git build-essential libnspr4-dev libncurses5-dev libncursesw5-dev cvs wget pkgconf libcap2-bin sudo \
|
||||||
|
6
init
6
init
@ -21,6 +21,12 @@ if [ ! -e "${SBBSCTRL}/../text/answer.msg" ]; then
|
|||||||
cp -Ras ${SBBSCTRL}/../text.orig/* ${SBBSCTRL}/../text/
|
cp -Ras ${SBBSCTRL}/../text.orig/* ${SBBSCTRL}/../text/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "${SBBSCTRL}/../xtrn" -o $((ls -1 ${SBBSCTRL}/../xtrn 2>/dev/null|wc -l)||echo 0) -eq 0 ]; then
|
||||||
|
echo "* Installing SBBS xtrn files into ${SBBSCTRL}/../xtrn"
|
||||||
|
[ ! -d ${SBBSCTRL}/../xtrn ] && mkdir ${SBBSCTRL}/../xtrn
|
||||||
|
cp -Ras ${SBBSCTRL}/../xtrn.orig/* ${SBBSCTRL}/../xtrn
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -r ${SBBSCTRL}/doorparty-connector.users ]; then
|
if [ -r ${SBBSCTRL}/doorparty-connector.users ]; then
|
||||||
${SBBSCTRL}/../exec/doorparty.sh
|
${SBBSCTRL}/../exec/doorparty.sh
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user