mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
parent
3396743d73
commit
5a2d51c060
1 changed files with 0 additions and 4 deletions
|
@ -725,16 +725,12 @@ main() {
|
|||
print_message "== Installed autocompletions for $(basename "${SHELL}")" "ok"
|
||||
elif [[ "${autocomplete_install_rcode}" == "1" ]]; then
|
||||
print_message "== Failed to install ${bash_autocomplete_file}" "error"
|
||||
exit 1
|
||||
elif [[ "${autocomplete_install_rcode}" == "20" ]]; then
|
||||
print_message "== Failed to locate 'install' command" "error"
|
||||
exit 1
|
||||
elif [[ "${autocomplete_install_rcode}" == "21" ]]; then
|
||||
print_message "== Failed to locate 'sudo' command" "error"
|
||||
exit 1
|
||||
else
|
||||
print_message "== Install attempt returned an unexpected value of ${autocomplete_install_rcode}" "error"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
print_message "== Installation complete" "ok"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue