]>
git.r.bdr.sh - rbdr/dotfiles/blob - provision
1580c24b7a47aa9315b4bd92d7de0c42ed6ffef5
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"