File: osx_fix_cellar.sh

package info (click to toggle)
python-plyer 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,724 kB
  • sloc: python: 13,395; sh: 217; makefile: 177
file content (12 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# uninstall old GNUpg, install new one and add Brew
# 'Cellar' folder to the path (contains binaries)
if [ "$TRAVIS_OS_NAME" = "osx" ]
then
    brew uninstall gnupg
    brew install gnupg2
    sudo ln -sv /usr/local/Cellar/gnupg /usr/local/Cellar/gpg || true
    sudo ln -sv /usr/local/Cellar/gnupg /usr/local/Cellar/gpg2 || true
    export PATH=$PATH:/usr/local/Cellar
fi