Update files
parent
e5a69f276a
commit
e328b3f6a6
|
@ -0,0 +1 @@
|
||||||
|
.cs2.env
|
|
@ -32,6 +32,7 @@ RUN set -x \
|
||||||
# Add entry script
|
# Add entry script
|
||||||
&& chmod +x "${HOMEDIR}/entry.sh" \
|
&& chmod +x "${HOMEDIR}/entry.sh" \
|
||||||
&& chown -R "${USER}:${USER}" "${HOMEDIR}/entry.sh" "${STEAMAPPDIR}" \
|
&& chown -R "${USER}:${USER}" "${HOMEDIR}/entry.sh" "${STEAMAPPDIR}" \
|
||||||
|
&& chmod -R +x /etc/post /etc/pre \
|
||||||
# Clean up
|
# Clean up
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& find /var/lib/apt/lists/ -type f -delete
|
&& find /var/lib/apt/lists/ -type f -delete
|
||||||
|
|
|
@ -28,6 +28,7 @@ sed -i -e "s/hostname.*/hostname ${CS2_SERVERNAME}/g" "${STEAMAPPDIR}"/game/csgo
|
||||||
if [[ ! -f "${STEAMAPPDIR}/pre.sh" ]] ; then
|
if [[ ! -f "${STEAMAPPDIR}/pre.sh" ]] ; then
|
||||||
cp /etc/pre.sh "${STEAMAPPDIR}/pre.sh"
|
cp /etc/pre.sh "${STEAMAPPDIR}/pre.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f "${STEAMAPPDIR}/post.sh" ]] ; then
|
if [[ ! -f "${STEAMAPPDIR}/post.sh" ]] ; then
|
||||||
cp /etc/post.sh "${STEAMAPPDIR}/post.sh"
|
cp /etc/post.sh "${STEAMAPPDIR}/post.sh"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue