๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
37
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix incorrect hook envvar names

+11 -11
+3 -3
src/commands/something_broke.sh
··· 100 100 $(atfile.something_broke.print_envvar "FORCE_NOW") 101 101 $(atfile.something_broke.print_envvar "FORCE_OS") 102 102 $(atfile.something_broke.print_envvar "FORCE_VERSION") 103 - $(atfile.something_broke.print_envvar "HOOK_POST_START_PATH") 104 - $(atfile.something_broke.print_envvar "HOOK_PRE_EXIT_PATH") 105 - $(atfile.something_broke.print_envvar "HOOK_PRE_START_PATH") 106 103 $(atfile.something_broke.print_envvar "MAX_LIST" "$_max_list_default") 107 104 $(atfile.something_broke.print_envvar "OUTPUT_JSON" "$_output_json_default") 108 105 $(atfile.something_broke.print_envvar "PATH_CONF" "$_path_envvar") 106 + $(atfile.something_broke.print_envvar "PATH_HOOK_PATH_POST_START") 107 + $(atfile.something_broke.print_envvar "PATH_HOOK_PATH_PRE_EXIT") 108 + $(atfile.something_broke.print_envvar "PATH_HOOK_PRE_START") 109 109 โ†ณ ${_envvar_prefix}_PASSWORD: $([[ -n $(atfile.util.get_envvar "${_envvar_prefix}_PASSWORD") ]] && echo "(Set)") 110 110 $(atfile.something_broke.print_envvar "USERNAME") 111 111 Paths
+8 -8
src/entry.sh
··· 17 17 _command_args=("${@:2}") 18 18 _os="$(atfile.util.get_os)" 19 19 _os_supported=0 20 - _hook_post_start_path="$(atfile.util.get_envvar "${_envvar_prefix}_HOOK_POST_START_PATH")" 21 - _hook_pre_exit_path="$(atfile.util.get_envvar "${_envvar_prefix}_HOOK_PRE_EXIT_PATH")" 22 - _hook_pre_start_path="$(atfile.util.get_envvar "${_envvar_prefix}_HOOK_PRE_START_PATH")" 23 20 _is_piped=0 24 21 _is_sourced=0 25 22 _meta_author="{:meta_author:}" ··· 27 24 _meta_repo="{:meta_repo:}" 28 25 _meta_year="{:meta_year:}" 29 26 _now="$(atfile.util.get_date)" 27 + _path_hook_post_start="$(atfile.util.get_envvar "${_envvar_prefix}_PATH_HOOK_POST_START")" 28 + _path_hook_pre_exit="$(atfile.util.get_envvar "${_envvar_prefix}_PATH_HOOK_PRE_EXIT")" 29 + _path_hook_pre_start="$(atfile.util.get_envvar "${_envvar_prefix}_PATH_HOOK_PRE_START")" 30 30 _version="{:version:}" 31 31 32 32 ## "Hello, world!" 33 33 34 34 atfile.say.debug "Reticulating splines..." 35 - atfile.util.source_hook "$_hook_pre_start_path" 35 + atfile.util.source_hook "$_path_hook_pre_start" 36 36 37 37 ## Paths 38 38 ··· 112 112 113 113 if [[ $_is_piped == 1 ]] ||\ 114 114 [[ "$1" == "install" ]]; then 115 - atfile.util.source_hook "$_hook_post_start_path" 115 + atfile.util.source_hook "$_path_hook_post_start" 116 116 117 117 if [[ "$1" == "install" ]]; then 118 118 atfile.install "$2" "$3" "$4" ··· 122 122 install_exit="$?" 123 123 fi 124 124 125 - atfile.util.source_hook "$_hook_pre_exit_path" 125 + atfile.util.source_hook "$_path_hook_pre_exit" 126 126 atfile.util.print_seconds_since_start_debug 127 127 128 128 exit $install_exit ··· 336 336 337 337 ## Invoke 338 338 339 - atfile.util.source_hook "$_hook_post_start_path" 339 + atfile.util.source_hook "$_path_hook_post_start" 340 340 341 341 if [[ $_is_sourced == 0 ]]; then 342 342 atfile.auth 343 343 atfile.invoke "$_command" "${_command_args[@]}" 344 344 fi 345 345 346 - atfile.util.source_hook "$_hook_pre_exit_path" 346 + atfile.util.source_hook "$_path_hook_pre_exit" 347 347 atfile.util.print_seconds_since_start_debug