Multi-profile support
This commit is contained in:
@@ -609,6 +609,8 @@ main() {
|
|||||||
|
|
||||||
for profile in "${PROFILES[@]}"; do
|
for profile in "${PROFILES[@]}"; do
|
||||||
|
|
||||||
|
debug "Profile: $profile"
|
||||||
|
|
||||||
[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
|
[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
|
||||||
declare -gn P_ARR="$profile"
|
declare -gn P_ARR="$profile"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user