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