Refactor various names, add git configs, add to installs
This commit is contained in:
12
set_script_env_vars
Normal file
12
set_script_env_vars
Normal file
@ -0,0 +1,12 @@
|
||||
[[ -z $BOX_SETUP_OS ]] &&
|
||||
echo "BOX_SETUP_OS must be set; options: arch, artix, debian, macos" &&
|
||||
exit 1
|
||||
|
||||
local install_cmd=''
|
||||
case $BOX_SETUP_OS in
|
||||
(arch | artix) install_cmd="sudo pacman -S" ;;
|
||||
(debian) install_cmd="sudo apt install" ;;
|
||||
(macos) install_cmd="brew install" ;;
|
||||
esac
|
||||
|
||||
export BOX_SETUP_INSTALL_COMMAND="$install_cmd"
|
Reference in New Issue
Block a user