Update autodesk_fusion_installer_x86-64.sh

This commit is contained in:
Steve Zabka
2025-04-19 10:21:26 +02:00
committed by GitHub
parent 5a6bd101c4
commit f9643447f1

View File

@@ -1 +1,30 @@
#!/usr/bin/env bash
###############################################################################################################################################################
# THE INITIALIZATION OF DEPENDENCIES STARTS HERE: #
###############################################################################################################################################################
# CONFIGURATION OF THE COLOR SCHEME:
RED=$'\033[0;31m'
YELLOW=$'\033[0;33m'
GREEN=$'\033[0;32m'
NOCOLOR=$'\033[0m'
###############################################################################################################################################################
# ALL FUNCTIONS ARE HERE: #
###############################################################################################################################################################
check_if_wine_exists() {
if command -v wine &> /dev/null; then
echo -e "${GREEN}✅ Wine is installed. The installer will be continued.${NOCOLOR}"
else
echo -e "${RED}❌ Wine is not installed. The installer will be terminated.${NOCOLOR}"
exit 1
fi
}
###############################################################################################################################################################
# THE PROGRAM STARTED HERE: #
###############################################################################################################################################################
check_if_wine_exists