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
/commit/html.c?h=1.4.0&id=6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a&follow=1'>html: check return value of writeJason A. Donenfeld 2013-03-20ui-shared: squelch compiler warning.Jason A. Donenfeld 2013-03-20cgit.mk: Use SHELL_PATH_SQ to run gen-version.shJohn Keeping 2013-03-20cgit.mk: don't rebuild everything if CGIT_VERSION changesJohn Keeping 2013-03-20ui-patch: use cgit_version not CGIT_VERSIONJohn Keeping 2013-03-20Makefile: re-use Git's Makefile where possibleJohn Keeping