This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ ! -f /etc/os-release ] || ! grep -qi "debian" /etc/os-release; then | |
| echo "This script is only for Debian-based systems." | |
| exit 1 | |
| fi | |
| if command -v docker &> /dev/null; then | |
| echo "Docker is already installed." | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ ! -f /etc/os-release ] || ! grep -qi "debian" /etc/os-release; then | |
| echo "This script is only for Debian-based systems." | |
| exit 1 | |
| fi | |
| if command -v caddy &> /dev/null; then | |
| echo "Caddy is already installed." | |
| exit 1 |