2016-01-27 15:08:44 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Customizations start here ################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
# Barebones cookbook that accepts args to run single recipes
|
|
|
|
|
|
|
|
# Get current directory for future use in links
|
2019-11-14 10:20:42 -08:00
|
|
|
cd "$(dirname "$0")" || { echo "Could not change directory to $0"; exit 1;}
|
2016-01-27 15:08:44 -08:00
|
|
|
PROJECT_DIR=$(pwd)
|
2019-11-14 10:20:42 -08:00
|
|
|
export PROJECT_DIR
|
2016-01-27 15:08:44 -08:00
|
|
|
|
2016-08-05 13:28:54 -07:00
|
|
|
# Initialization - DO NOT REMOVE
|
|
|
|
. helpers/initialize
|
|
|
|
|
2016-01-27 15:08:44 -08:00
|
|
|
detect_package_manager
|
|
|
|
|
|
|
|
init_paths_and_vars
|
|
|
|
|
|
|
|
# Get params
|
2019-11-14 10:20:42 -08:00
|
|
|
export COOKBOOK_NAME=$1
|
2016-01-27 15:08:44 -08:00
|
|
|
RECIPIE=$2
|
|
|
|
# SET_INSTALLED=$3
|
|
|
|
|
2019-11-14 10:20:42 -08:00
|
|
|
recipe "$RECIPIE"
|
2016-01-27 15:08:44 -08:00
|
|
|
# set_installed $SET_INSTALLED
|