We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ee4ac commit 6f20c37Copy full SHA for 6f20c37
setup.sh
@@ -66,6 +66,18 @@ EOF
66
install_docker() {
67
print_info "Installing Docker and Docker Compose..."
68
69
+ # Detect operating system
70
+ if [ -f /etc/os-release ]; then
71
+ . /etc/os-release
72
+ if [[ "$ID" != "ubuntu" && "$ID" != "debian" ]]; then
73
+ print_error "Unsupported operating system: $ID. This script supports only Ubuntu/Debian-based systems."
74
+ exit 1
75
+ fi
76
+ else
77
+ print_error "Unable to detect operating system. This script supports only Ubuntu/Debian-based systems."
78
79
80
+
81
# Update package index
82
sudo apt-get update
83
0 commit comments