]> git.0d.be Git - botaradio.git/blob - update.sh
let's release the kraken
[botaradio.git] / update.sh
1 #!/usr/bin/env bash
2
3 case "$1" in
4     stable)
5         curl -Lo /tmp/botamusique.tar.gz https://azlux.fr/botamusique/sources.tar.gz
6         tar -xzf /tmp/botamusique.tar.gz -C /tmp/
7         cp -r /tmp/botamusique/* .
8         rm -r /tmp/botamusique
9         rm -r /tmp/botamusique.tar.gz
10         ;;
11     testing)
12         git fetch
13         git pull --all
14         git submodule update
15         ;;
16
17     *)
18         ;;
19 esac
20 exit 0