Second wave of initial code changes.
This commit is contained in:
20
update.sh
20
update.sh
@ -2,18 +2,18 @@
|
||||
|
||||
case "$1" in
|
||||
stable)
|
||||
curl -Lo /tmp/botamusique.tar.gz https://packages.azlux.fr/botamusique/sources-stable.tar.gz
|
||||
tar -xzf /tmp/botamusique.tar.gz -C /tmp/
|
||||
cp -r /tmp/botamusique/* .
|
||||
rm -r /tmp/botamusique
|
||||
rm -r /tmp/botamusique.tar.gz
|
||||
curl -Lo /tmp/bragi.tar.gz https://packages.azlux.fr/bragi/sources-stable.tar.gz
|
||||
tar -xzf /tmp/bragi.tar.gz -C /tmp/
|
||||
cp -r /tmp/bragi/* .
|
||||
rm -r /tmp/bragi
|
||||
rm -r /tmp/bragi.tar.gz
|
||||
;;
|
||||
testing)
|
||||
curl -Lo /tmp/botamusique.tar.gz https://packages.azlux.fr/botamusique/sources-testing.tar.gz
|
||||
tar -xzf /tmp/botamusique.tar.gz -C /tmp/
|
||||
cp -r /tmp/botamusique/* .
|
||||
rm -r /tmp/botamusique
|
||||
rm -r /tmp/botamusique.tar.gz
|
||||
curl -Lo /tmp/bragi.tar.gz https://packages.azlux.fr/bragi/sources-testing.tar.gz
|
||||
tar -xzf /tmp/bragi.tar.gz -C /tmp/
|
||||
cp -r /tmp/bragi/* .
|
||||
rm -r /tmp/bragi
|
||||
rm -r /tmp/bragi.tar.gz
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
Reference in New Issue
Block a user