| 1 | #!/usr/bin/env bash |
| 2 | if [ ! -e "scripts/remotes/gerrit.py" ] |
| 3 | then |
| 4 | mkdir -p scripts/remotes |
| 5 | echo 'Installing GerritCommandLine tool' |
| 6 | curl -o scripts/remotes/gerrit.py https://raw.githubusercontent.com/jdlrobson/GerritCommandLine/master/gerrit.py |
| 7 | chmod +x scripts/remotes/gerrit.py |
| 8 | fi |
| 9 | if [ ! -e "scripts/remotes/message.py" ] |
| 10 | then |
| 11 | mkdir -p scripts/remotes |
| 12 | echo 'Installing Message tool' |
| 13 | curl -o scripts/remotes/message.py https://raw.githubusercontent.com/jdlrobson/WikimediaMessageDevScript/master/message.py |
| 14 | chmod +x scripts/remotes/message.py |
| 15 | fi |