diff --git a/src/_utils/_git_secret_tools.sh b/src/_utils/_git_secret_tools.sh index 98f094f3..87209f7a 100644 --- a/src/_utils/_git_secret_tools.sh +++ b/src/_utils/_git_secret_tools.sh @@ -8,7 +8,6 @@ _SECRETS_DIR_KEYS="${_SECRETS_DIR}/keys" _SECRETS_DIR_PATHS="${_SECRETS_DIR}/paths" # Files: -_SECRETS_DIR_KEYS_MAPPING="${_SECRETS_DIR_KEYS}/mapping.cfg" _SECRETS_DIR_KEYS_TRUSTDB="${_SECRETS_DIR_KEYS}/trustdb.gpg" _SECRETS_DIR_PATHS_MAPPING="${_SECRETS_DIR_PATHS}/mapping.cfg" @@ -395,11 +394,6 @@ function _get_secrets_dir_path { } -function _get_secrets_dir_keys_mapping { - _append_root_path "${_SECRETS_DIR_KEYS_MAPPING}" -} - - function _get_secrets_dir_keys_trustdb { _append_root_path "${_SECRETS_DIR_KEYS_TRUSTDB}" } diff --git a/src/commands/git_secret_init.sh b/src/commands/git_secret_init.sh index 6499bf81..2c961515 100644 --- a/src/commands/git_secret_init.sh +++ b/src/commands/git_secret_init.sh @@ -71,7 +71,7 @@ function init { # Create internal files: mkdir "$git_secret_dir" "$(_get_secrets_dir_keys)" "$(_get_secrets_dir_path)" - touch "$(_get_secrets_dir_keys_mapping)" "$(_get_secrets_dir_paths_mapping)" + touch "$(_get_secrets_dir_paths_mapping)" _message "init created: '$git_secret_dir/'"