Multi-profile support

This commit is contained in:
2023-01-11 14:45:59 -05:00
parent de5f6f02f3
commit b381222022

View File

@@ -609,6 +609,8 @@ main() {
for profile in "${PROFILES[@]}"; do
debug "Profile: $profile"
[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
declare -gn P_ARR="$profile"