Adding in fix for macOS (Darwin) not having an install case. Uses the same logic from install_file_freebsd

This commit is contained in:
Micheal Quinn 2019-08-12 11:04:50 -05:00
parent b8d1d11b68
commit e2e48d9e84
No known key found for this signature in database
GPG Key ID: 0E7217F3C30BA059
1 changed files with 2 additions and 0 deletions

View File

@ -560,6 +560,8 @@ main() {
install_file_rcode="${?}";;
"FreeBSD" ) install_file_freebsd "${tmpdir}/${croc_bin_name}" "${prefix}/";
install_file_rcode="${?}";;
"macOS" ) install_file_freebsd "${tmpdir}/${croc_bin_name}" "${prefix}/";
install_file_rcode="${?}";;
esac
if [[ "${install_file_rcode}" == "0" ]]; then
print_message "== Installed ${croc_bin_name} to ${prefix}/" "ok"