|
|
|
@ -114,6 +114,10 @@ fn_sops_updatekeys_and_verify(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function main(){
|
|
|
|
function main(){
|
|
|
|
|
|
|
|
if [[ ! -n "${@}" ]]; then
|
|
|
|
|
|
|
|
# if empty args, remove
|
|
|
|
|
|
|
|
shift
|
|
|
|
|
|
|
|
fi
|
|
|
|
# "anchor" for actions relevant to this script
|
|
|
|
# "anchor" for actions relevant to this script
|
|
|
|
repo_root="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)"
|
|
|
|
repo_root="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)"
|
|
|
|
# OPTIONS: ARGPARSING and VALIDATION
|
|
|
|
# OPTIONS: ARGPARSING and VALIDATION
|
|
|
|
@ -209,5 +213,6 @@ function main(){
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
main "${@}"
|
|
|
|
# pass-through, set default value
|
|
|
|
|
|
|
|
main "${@-}"
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
|