mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-10-26 07:56:10 +01:00
Update autodesk_fusion_installer_x86-64.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user