Add initial Banov support scripts. WIP.

This commit is contained in:
Daniel Ceregatti 2022-09-29 11:32:22 -07:00
parent c2c15ad51d
commit af88d74ea3
4 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -eE
cd "$(dirname ${0})"
echo
if echo ${0} | grep -q "uninstall.sh"
then
echo "Backing up, as uninstalling will remove the Banov mpmissions directory"
dayzserver backup
echo "Uninstalling mpmissions..."
echo
rm -rf ${HOME}/serverfiles/mpmissions/
if echo ${0} | grep -q "update.sh"
then
echo "Updating mpmissions directory..."
echo
cd ${HOME}/serverfiles/mpmissions
git pull https://github.com/KubeloLive/Banov
else
echo "Installing mpmissions directory..."
echo
cd ${HOME}/serverfiles/mpmissions
git clone https://github.com/KubeloLive/Banov
fi
echo

View file

@ -0,0 +1 @@
install.sh

View file

@ -0,0 +1 @@
install.sh

1
files/mods/@Banov Symbolic link
View file

@ -0,0 +1 @@
2415195639