diff options
author | June McEnroe <june@causal.agency> | 2019-01-12 14:43:31 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-12 14:43:31 -0500 |
commit | 93feed7f201002004767ee6e0d080062f25ab3d7 (patch) | |
tree | 5de1ba30b51922690d734695c95d052bf190c55a | |
parent | Reference cash builtin man pages in cash.1 SEE ALSO (diff) | |
download | src-93feed7f201002004767ee6e0d080062f25ab3d7.tar.gz src-93feed7f201002004767ee6e0d080062f25ab3d7.zip |
Install gnupg2 from pkgsrc and symlink gpg
-rwxr-xr-x | install.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/install.sh b/install.sh index f9f7ab29..2a9ce28f 100755 --- a/install.sh +++ b/install.sh @@ -1,11 +1,11 @@ #!/bin/sh set -e -u -pkgAny='curl git gnupg htop mksh sl the_silver_searcher tree' -pkgDarwin='git' -pkgFreeBSD='ddate neovim sudo' -pkgNetBSD='sudo vim' -pkgLinux='base-devel bc ctags gdb neovim openssh' +pkgAny='curl git htop mksh sl the_silver_searcher tree' +pkgDarwin='git gnupg2' +pkgFreeBSD='ddate gnupg neovim sudo' +pkgNetBSD='gnupg2 sudo vim' +pkgLinux='base-devel bc ctags gdb gnupg neovim openssh' pkgsrcTag='20171103' neovimTag='v0.3.1' @@ -26,6 +26,7 @@ Darwin() { fi sudo pkgin update sudo pkgin install ${pkgAny} ${pkgDarwin} + sudo ln -sf /opt/pkg/bin/gpg2 /usr/local/bin/gpg if [ ! -f /usr/local/bin/nvim ]; then curl -L -O ${neovimURL} sudo tar -xf ${neovimTar} --strip-components 1 -C /usr/local @@ -45,6 +46,7 @@ NetBSD() { fi pkgin update pkgin install ${pkgAny} ${pkgNetBSD} + ln -sf /usr/pkg/bin/gpg2 /usr/local/bin/gpg } FreeBSD() { |