mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 01:05:10 +03:00
27 lines
984 B
Bash
Executable file
27 lines
984 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# stops on first error
|
|
set -e
|
|
set -x
|
|
|
|
# make sure we are in the good directory
|
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
cd ${DIR}
|
|
|
|
# retrieve release after the repo update
|
|
source ./version.sh
|
|
|
|
# build voice packs
|
|
wget -O /dev/null ${winboxurl}/compile.php?branch=${branch}
|
|
|
|
# get voice packs
|
|
cd /var/www/html/voices-${version}/opentx-taranis/en/
|
|
wget -O english-irish-taranis.zip ${winboxurl}/english-irish-taranis.zip
|
|
wget -O english-scottish-taranis.zip ${winboxurl}/english-scottish-taranis.zip
|
|
wget -O english-american-taranis.zip ${winboxurl}/english-american-taranis.zip
|
|
wget -O english-australian-taranis.zip ${winboxurl}/english-australian-taranis.zip
|
|
# wget -O english-taranis.csv ${winboxurl}/english-irish-taranis.csv # doesn't seem to work
|
|
|
|
cd /var/www/html/voices-${version}/opentx-taranis/fr/
|
|
wget -O french-taranis.zip ${winboxurl}/french-taranis.zip
|
|
# wget -O french-taranis.csv ${winboxurl}/french-taranis.csv #outdated
|