summary refs log tree commit diff
path: root/install.sh
blob: fb7a0d93cd96991f406ca5e56203b940fa75a9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e -u

any='gnupg htop nasm neovim sl the_silver_searcher tree'
brew="$any ddate git openssh"
pkg="$any curl ddate sudo zsh"
pacman="$any base-devel ctags gdb openssh zsh"

homebrew='https://raw.githubusercontent.com/Homebrew/install/master/install'
if [ "$(uname)" = 'Darwin' ]; then
    xcode-select --install || true
    [ -f /usr/local/bin/brew ] || ruby -e "$(curl -fsSL "$homebrew")"
    exec brew install $brew
fi

[ -f /usr/local/sbin/pkg ] && exec pkg install $pkg
[ -f /usr/bin/pacman ] && pacman -Sy && exec pacman -S --needed $pacman
s='logheader'>2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe