fix if to elif

This commit is contained in:
deffcolony
2023-11-06 16:58:44 +01:00
parent 95884cf911
commit 8e86c3de7a
2 changed files with 2 additions and 5 deletions

View File

@@ -635,7 +635,7 @@ if [ -n "$IS_MACOS" ]; then
install_nodejs_npm
home
# Detect the package manager and execute the appropriate installation
if command -v apt-get &>/dev/null; then
elif command -v apt-get &>/dev/null; then
log_message "INFO" "Detected Debian/Ubuntu-based system.${reset}"
# Debian/Ubuntu
install_git