| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # uninstall old GNUpg, install new one and add Brew |
| 4 | # 'Cellar' folder to the path (contains binaries) |
| 5 | if [scip-shell system . . `[`. "$TRAVIS_OS_NAME" = "osx" ] |
| 6 | then |
| 7 | brew uninstall gnupg |
| 8 | brew install gnupg2 |
| 9 | sudoscip-shell system . . sudo. ln -sv /usr/local/Cellar/gnupgscip-shell filesystem . . `/usr/local/Cellar/gnupg`. /usr/local/Cellar/gpgscip-shell filesystem . . `/usr/local/Cellar/gpg`. || truescip-shell system . . true. |
| 10 | sudoscip-shell system . . sudo. ln -sv /usr/local/Cellar/gnupgscip-shell filesystem . . `/usr/local/Cellar/gnupg`. /usr/local/Cellar/gpg2scip-shell filesystem . . `/usr/local/Cellar/gpg2`. || truescip-shell system . . true. |
| 11 | export PATH=$PATH:/usr/local/Cellar |
| 12 | fi |