mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
Add initial Banov support scripts. WIP.
This commit is contained in:
parent
c2c15ad51d
commit
af88d74ea3
4 changed files with 30 additions and 0 deletions
27
files/mods/2415195639/install.sh
Executable file
27
files/mods/2415195639/install.sh
Executable 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
|
1
files/mods/2415195639/uninstall.sh
Symbolic link
1
files/mods/2415195639/uninstall.sh
Symbolic link
|
@ -0,0 +1 @@
|
|||
install.sh
|
1
files/mods/2415195639/update.sh
Symbolic link
1
files/mods/2415195639/update.sh
Symbolic link
|
@ -0,0 +1 @@
|
|||
install.sh
|
1
files/mods/@Banov
Symbolic link
1
files/mods/@Banov
Symbolic link
|
@ -0,0 +1 @@
|
|||
2415195639
|
Loading…
Add table
Reference in a new issue