mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
Update unix_install.sh
This commit is contained in:
parent
3f42aaa55f
commit
a0b6941ca7
@ -137,10 +137,13 @@ else
|
|||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
# Detect the package manager
|
# Detect the package manager
|
||||||
if command_exists apt; then
|
if command_exists apt; then
|
||||||
|
echo "Detected Debian-based system."
|
||||||
install_on_debian "openssl"
|
install_on_debian "openssl"
|
||||||
elif command_exists yum; then
|
elif command_exists yum; then
|
||||||
|
echo "Detected Red Hat-based system."
|
||||||
install_on_redhat "openssl"
|
install_on_redhat "openssl"
|
||||||
elif command_exists pacman; then
|
elif command_exists pacman; then
|
||||||
|
echo "Detected Arch-based system."
|
||||||
install_on_arch "openssl"
|
install_on_arch "openssl"
|
||||||
else
|
else
|
||||||
echo "Unsupported Linux distribution."
|
echo "Unsupported Linux distribution."
|
||||||
@ -150,6 +153,7 @@ else
|
|||||||
echo "Detected BSD-based system."
|
echo "Detected BSD-based system."
|
||||||
install_on_bsd "openssl"
|
install_on_bsd "openssl"
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
echo "Detected macOS."
|
||||||
install_on_macos "openssl"
|
install_on_macos "openssl"
|
||||||
else
|
else
|
||||||
echo "Unsupported operating system."
|
echo "Unsupported operating system."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user