Update unix_install.sh

This commit is contained in:
BluTiger 2024-09-23 15:03:41 +02:00 committed by GitHub
parent 3f42aaa55f
commit a0b6941ca7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,10 +137,13 @@ else
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# Detect the package manager
if command_exists apt; then
echo "Detected Debian-based system."
install_on_debian "openssl"
elif command_exists yum; then
echo "Detected Red Hat-based system."
install_on_redhat "openssl"
elif command_exists pacman; then
echo "Detected Arch-based system."
install_on_arch "openssl"
else
echo "Unsupported Linux distribution."
@ -150,6 +153,7 @@ else
echo "Detected BSD-based system."
install_on_bsd "openssl"
elif [[ "$OSTYPE" == "darwin"* ]]; then
echo "Detected macOS."
install_on_macos "openssl"
else
echo "Unsupported operating system."