jarvis-compose/fetch.sh

18 lines
No EOL
400 B
Bash
Executable file

#!/bin/bash
if [ ! -d jarvis-bot ]; then
git clone https://git.zevaryx.com/stark-industries/jarvis/jarvis-bot.git
else
pushd jarvis-bot
git pull
popd
fi
if [ ! -d jarvis-tasks ]; then
git clone https://git.zevaryx.com/stark-industries/jarvis/jarvis-tasks.git
else
pushd jarvis-tasks
git pull
popd
fi
cp -v config.yaml jarvis-bot/config.yaml
cp -v config.yaml jarvis-tasks/config.yaml