Update readme, use a sort order for install scripts
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
[[ -z $BOX_SETUP_OS ]] && echo "BOX_SETUP_OS must be set" && exit 1
|
||||
[[ -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
|
||||
@ -6,4 +8,5 @@ case $BOX_SETUP_OS in
|
||||
(debian) export install_cmd="sudo apt install" ;;
|
||||
(macos) export install_cmd="brew install" ;;
|
||||
esac
|
||||
|
||||
export BOX_SETUP_INSTALL_COMMAND="$install_cmd"
|
||||
|
Reference in New Issue
Block a user