client/container: rename 'subprofile' script to 'subscript'

- Provides clarity, avoids confusion (subprofile.bash -> subscript.bash)

- Changes filename in superscript source
  * End-user must update with client command `edit type=superscript`

- Changes filename in flow subprofile's docker-finance.d
  * Pre-existing subprofiles must manually rename their subscript file
This commit is contained in:
2024-09-22 18:35:25 -07:00
parent c8d99e3f12
commit 51bf587ceb
3 changed files with 20 additions and 20 deletions

View File

@@ -80,7 +80,7 @@ function lib_finance::finance()
declare -grx global_conf_fetch="${global_child_profile_flow}/docker-finance.d/fetch/fetch.yaml"
declare -grx global_conf_hledger="${global_child_profile_flow}/docker-finance.d/hledger/hledger.conf"
declare -grx global_conf_meta="${global_child_profile_flow}/docker-finance.d/meta/meta.csv"
declare -grx global_conf_shell="${global_child_profile_flow}/docker-finance.d/shell/subprofile.bash"
declare -grx global_conf_shell="${global_child_profile_flow}/docker-finance.d/shell/subscript.bash"
# Implementation "libraries" (requires previously set globals)
source "${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/lib/internal/lib_edit.bash" || exit 1