dot-files/bootstrap.sh
Bruno BELANYI 8bedc06072 [UPDATE] Use bootstrap and Makefile installation
Instead of running `install.sh` to link all my packages, I split the
configuration into its CLI components and packages that need a Xorg
display server set-up.

This uses the `bootstrap.sh` script to make sure the needed dependencies
are installed. The `Makefile` can install all the packages or CLI ones
only.
2019-11-05 16:00:42 +01:00

21 lines
367 B
Bash
Executable file

#!/usr/bin/env bash
# Exit on errors
set -e
# Install pre-requisite packages for installing packages and connecting
prerequisite() {
sudo pacman -S base base-devel git stow mosh
}
# Install the yay AUR helper
install-yay() {
git clone https://aur.archlinux.org/yay.git
pushd yay || exit 1
makepkg -si
popd || exit 1
}
prerequisite
install-yay