From 93feed7f201002004767ee6e0d080062f25ab3d7 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 12 Jan 2019 14:43:31 -0500 Subject: Install gnupg2 from pkgsrc and symlink gpg --- install.sh | 12 +++++++----- 1 file 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() { -- cgit 1.4.1