]>
git.r.bdr.sh - rbdr/dotfiles/blob - provision
d36cced1b141e9f9e55e1cee920d49561d0215d9
4 echo "Run with parameters: essential, nice, cask_essential, or cask_nice"
6 if command -v brew
&> /dev
/null
; then
9 if command -v apt
&> /dev
/null
; then
12 echo "Error: No valid package manager. Make sure brew or apt are available."
16 file="./provisioning/${command_name}_$1"
17 if [[ -f $file ]]; then
18 echo "Provisioning $1 with $command_name"
19 cat .
/provisioning
/${command_name}_
$1 | xargs ${command_name} install
21 echo "No provisioning recipe for $1 with $command_name"