1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 16:07:59 +00:00
dotfiles/install

12 lines
282 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
cd -- "$(dirname -- "$0")"
. mod.bash
if (($(id -u) == 0)); then
[[ -f /etc/debian_version ]] \
&& install_apt_packages
[[ $(uname -sm) =~ ^(Linux x86_64|Darwin .*)$ ]] \
&& install_homebrew_packages
fi
install_dotfiles
install_addons "$@"